|
7 | 7 | pull_request: |
8 | 8 | types: [opened, reopened] |
9 | 9 |
|
| 10 | +defaults: |
| 11 | + run: |
| 12 | + shell: bash |
| 13 | + |
10 | 14 | env: |
11 | 15 | APT: sudo apt install -y --no-install-recommends |
12 | 16 | # Set the python path manually to include /usr/-/python2.7/dist-packages |
@@ -181,56 +185,73 @@ jobs: |
181 | 185 | - run: make clangcheck SCANBUILD=scan-build-20 OPTIONS=noros_tidy TC=clang |
182 | 186 |
|
183 | 187 |
|
| 188 | + # focal |
| 189 | + focal_noetic_catkin_old: |
| 190 | + container: ros:noetic-ros-base-focal |
| 191 | + runs-on: ubuntu-latest |
| 192 | + steps: |
| 193 | + - uses: actions/checkout@v5 |
| 194 | + - run: rm -Rf ariles2_jsonnet_ws ariles2_namevalue_ws ariles2_ros2param_ws ariles2_protobuf3_ws ariles2_rosparam_ws/CATKIN_IGNORE |
| 195 | + - run: | |
| 196 | + source /opt/ros/noetic/setup.bash |
| 197 | + make catkin_test_old ROS_DISTRO=noetic UBUNTU_DISTRO=focal |
| 198 | +
|
| 199 | + focal_noetic_catkin_new: |
| 200 | + container: ros:noetic-ros-base-focal |
| 201 | + runs-on: ubuntu-latest |
| 202 | + steps: |
| 203 | + - uses: actions/checkout@v5 |
| 204 | + - run: rm -Rf ariles2_rosparam_ws/CATKIN_IGNORE |
| 205 | + - run: | |
| 206 | + source /opt/ros/noetic/setup.bash |
| 207 | + make catkin_test_new ROS_DISTRO=noetic UBUNTU_DISTRO=focal |
| 208 | +
|
| 209 | + # does not work with ros2param (rclcpp dependency) |
| 210 | + #prerelease: |
| 211 | + # runs-on: ubuntu-20.04 |
| 212 | + # steps: |
| 213 | + # - uses: actions/checkout@v5 |
| 214 | + # with: |
| 215 | + # fetch-depth: 0 |
| 216 | + # - run: make ros_prerelease ROS_DISTRO=noetic UBUNTU_DISTRO=focal BRANCH=`git branch --show-current` |
| 217 | + # env: |
| 218 | + # CCACHE_DIR: ${GITHUB_WORKSPACE}/.ccache |
| 219 | + |
184 | 220 | jammy_ccws: |
185 | | - runs-on: ubuntu-22.04 |
| 221 | + container: asherikov/ccws_jammy |
| 222 | + runs-on: ubuntu-latest |
| 223 | + env: |
| 224 | + WORKSPACE_SRC: ${GITHUB_WORKSPACE} |
186 | 225 | steps: |
187 | 226 | - uses: actions/checkout@v5 |
188 | | - with: |
189 | | - repository: asherikov/ccws |
190 | | - - uses: actions/checkout@v5 |
191 | | - with: |
192 | | - ref: pkg_ws_2 |
193 | | - path: src/ariles_ws |
194 | | - - run: cd src/ariles_ws; make update VERSION=${GITHUB_SHA}; rm -Rf ariles2_rosparam_ws demo |
195 | | - - run: make bp_install_build BUILD_PROFILE=static_checks |
196 | | - - run: make BUILD_PROFILE=static_checks |
197 | | - - run: make bp_install_build BUILD_PROFILE=scan_build |
198 | | - - run: make dep_install PKG=ariles2_core_ws |
199 | | - - run: make dep_install PKG=ariles2_graphviz_ws |
200 | | - - run: make dep_install PKG=ariles2_namevalue2_ws |
201 | | - - run: make dep_install PKG=ariles2_octave_ws |
202 | | - - run: make dep_install PKG=ariles2_pugixml_ws |
203 | | - - run: make dep_install PKG=ariles2_rapidjson_ws |
204 | | - - run: make dep_install PKG=ariles2_ros2param_ws |
205 | | - - run: make dep_install PKG=ariles2_yamlcpp_ws |
206 | | - - run: make _ws BUILD_PROFILE=scan_build |
207 | | - - run: make bp_install_build BUILD_PROFILE=cppcheck |
208 | | - - run: make BUILD_PROFILE=static_checks BASE_BUILD_PROFILE=scan_build |
| 227 | + - run: rm demo_cmake/CATKIN_IGNORE |
| 228 | + - run: | |
| 229 | + cd /ccws |
| 230 | + apt update |
| 231 | + make dep_install |
| 232 | + make ariles2_cmake_demo ariles2_ros2param_ws |
| 233 | + - run: | |
| 234 | + cd /ccws |
| 235 | + make BUILD_PROFILE=static_checks |
| 236 | + make _ws BUILD_PROFILE=scan_build |
| 237 | + make BUILD_PROFILE=static_checks BASE_BUILD_PROFILE=scan_build |
209 | 238 |
|
210 | 239 | noble_ccws: |
211 | | - runs-on: ubuntu-24.04 |
| 240 | + container: asherikov/ccws_noble |
| 241 | + runs-on: ubuntu-latest |
| 242 | + env: |
| 243 | + WORKSPACE_SRC: ${GITHUB_WORKSPACE} |
212 | 244 | steps: |
213 | 245 | - uses: actions/checkout@v5 |
214 | | - with: |
215 | | - repository: asherikov/ccws |
216 | | - - uses: actions/checkout@v5 |
217 | | - with: |
218 | | - ref: pkg_ws_2 |
219 | | - path: src/ariles_ws |
220 | | - - run: cd src/ariles_ws; make update VERSION=${GITHUB_SHA}; rm -Rf ariles2_rosparam_ws demo |
221 | | - - run: make bp_install_build BUILD_PROFILE=static_checks |
222 | | - - run: make BUILD_PROFILE=static_checks |
223 | | - - run: make bp_install_build BUILD_PROFILE=scan_build |
224 | | - - run: make dep_install PKG=ariles2_core_ws |
225 | | - - run: make dep_install PKG=ariles2_graphviz_ws |
226 | | - - run: make dep_install PKG=ariles2_namevalue2_ws |
227 | | - - run: make dep_install PKG=ariles2_octave_ws |
228 | | - - run: make dep_install PKG=ariles2_pugixml_ws |
229 | | - - run: make dep_install PKG=ariles2_rapidjson_ws |
230 | | - - run: make dep_install PKG=ariles2_ros2param_ws |
231 | | - - run: make dep_install PKG=ariles2_yamlcpp_ws |
232 | | - # disable due to https://github.com/Tencent/rapidjson/issues/2347 |
233 | | - - run: touch src/ariles_ws/ariles2_rapidjson_ws/COLCON_IGNORE |
234 | | - - run: make _ws BUILD_PROFILE=scan_build |
235 | | - - run: make bp_install_build BUILD_PROFILE=cppcheck |
236 | | - - run: make BUILD_PROFILE=static_checks BASE_BUILD_PROFILE=scan_build |
| 246 | + - run: rm demo_cmake/CATKIN_IGNORE |
| 247 | + - run: | |
| 248 | + cd /ccws |
| 249 | + apt update |
| 250 | + make dep_install |
| 251 | + make ariles2_cmake_demo ariles2_ros2param_ws |
| 252 | + - run: | |
| 253 | + cd /ccws |
| 254 | + make BUILD_PROFILE=static_checks |
| 255 | + make _ws BUILD_PROFILE=scan_build |
| 256 | + make BUILD_PROFILE=static_checks BASE_BUILD_PROFILE=scan_build |
| 257 | +
|
0 commit comments