99 pull_request :
1010 branches :
1111 - ' *'
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
1216jobs :
1317 build-test :
18+ name : build-test (${{ matrix.config.rosdistro }}, ${{ matrix.config.ros_repo }})
1419 runs-on : ubuntu-latest
1520 strategy :
1621 fail-fast : false
1722 matrix :
1823 config :
19- - {rosdistro: 'rolling', container: 'rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-desktop-latest'}
20- container :
21- image : ${{ matrix.config.container }}
24+ - {rosdistro: 'lyrical', ros_repo: 'main', skip_keys: ''}
25+ # octomap_rviz_plugins and octomap_server have no Rolling binary on Ubuntu 26.04 yet.
26+ - {rosdistro: 'rolling', ros_repo: 'testing', skip_keys: 'octomap_rviz_plugins octomap_server'}
27+ container :
28+ image : ros:${{ matrix.config.rosdistro }}-ros-base-resolute
2229 steps :
2330 - uses : actions/checkout@v4
2431 with :
2532 path : src/grid_map
33+ - name : Use the ROS testing repository
34+ run : |
35+ sed -i 's|packages.ros.org/ros2/ubuntu|packages.ros.org/ros2-testing/ubuntu|' /etc/apt/sources.list.d/*
36+ apt-get update
37+ DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
38+ shell : bash
39+ if : ${{ matrix.config.ros_repo == 'testing' }}
2640 - name : Pull in repos with vcs
2741 run : |
2842 apt-get update
@@ -32,10 +46,10 @@ jobs:
3246 if : ${{ matrix.config.rosdistro == 'rolling' }}
3347 - name : Install Dependencies with Rosdep
3448 run : |
35- apt update
36- rosdep update
49+ apt-get update
50+ rosdep update --rosdistro ${{matrix.config.rosdistro}}
3751 source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
38- rosdep install --from-paths src -- ignore-src -y --skip-keys "slam_toolbox "
52+ rosdep install --from-paths $(colcon list --packages-up-to grid_map --paths-only) -- ignore-src -y --rosdistro ${{matrix.config.rosdistro}} -- skip-keys "${{matrix.config.skip_keys}} "
3953 shell : bash
4054 - name : Colcon Build (Release)
4155 run : |
0 commit comments