File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 2222
2323 build_android :
2424 runs-on : ubuntu-20.04
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ include :
29+ - colcon_meta : |
30+ {
31+ "names": {
32+ "rcl": {
33+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
34+ },
35+ "rcl_yaml_param_parser": {
36+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
37+ },
38+ "rclcpp": {
39+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
40+ },
41+ "rclcpp_action": {
42+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
43+ },
44+ "rclcpp_lifecycle": {
45+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
46+ },
47+ "rcutils": {
48+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
49+ },
50+ "rosidl_typesupport_c": {
51+ "cmake-args": [ "-DBUILD_TESTING=OFF" ]
52+ },
53+ }
54+ }
2555 steps :
2656 - name : Install Java
2757 run : |
6090 # Use checked out version of ros2_java
6191 rm -rf src/ros2-java/ros2_java
6292 ln --symbolic ${{ github.workspace }} src/ros2-java
93+ - name : Create colcon defaults file
94+ run : printf "${{matrix.colcon_meta}}" > ${{ github.workspace }}/colcon.meta
6395 - name : Build ros2_java for Android
6496 run : |
6597 export PYTHON3_EXEC="$( which python3 )"
74106 colcon build \
75107 --packages-ignore cyclonedds rcl_logging_log4cxx rosidl_generator_py \
76108 --packages-up-to rcljava \
109+ --metas ${{ github.workspace }}/colcon.meta \
77110 --cmake-args \
78111 -DPYTHON_EXECUTABLE=${PYTHON3_EXEC} \
79112 -DPYTHON_LIBRARY=${PYTHON3_LIBRARY} \
You can’t perform that action at this time.
0 commit comments