CI: skip explicitly keys for ros2 workflow

This commit is contained in:
matlabbe
2025-06-10 10:46:34 -07:00
parent 4291d5a18d
commit 600732f44b
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -17,6 +17,13 @@ jobs:
strategy: strategy:
matrix: matrix:
ros_distro: [humble, jazzy, kilted] ros_distro: [humble, jazzy, kilted]
include:
- ros_distro: humble
skip_keys: ''
- ros_distro: jazzy
skip_keys: ''
- ros_distro: kilted
skip_keys: 'nav2_bringup nav2_msgs'
fail-fast: false fail-fast: false
container: container:
image: osrf/ros:${{ matrix.ros_distro }}-desktop-full image: osrf/ros:${{ matrix.ros_distro }}-desktop-full
@@ -33,3 +40,4 @@ jobs:
package-name: rtabmap_ros package-name: rtabmap_ros
target-ros2-distro: ${{ matrix.ros_distro }} target-ros2-distro: ${{ matrix.ros_distro }}
vcs-repo-file-url: /tmp/deps.repos vcs-repo-file-url: /tmp/deps.repos
rosdep-skip-keys: "${{ matrix.skip_keys }}"
+1 -1
View File
@@ -12,7 +12,7 @@ RUN source /ros_entrypoint.sh && \
rosdep init && \ rosdep init && \
rosdep update && \ rosdep update && \
apt-get update && \ apt-get update && \
rosdep install --from-paths src --ignore-src -r -y -t build_export -t test -t build -t buildtool_export -t buildtool && \ rosdep install --from-paths src --ignore-src -r -y -t build_export -t test -t build -t buildtool_export -t buildtool --skip-keys="rtabmap" && \
apt-get clean && rm -rf /var/lib/apt/lists/ && \ apt-get clean && rm -rf /var/lib/apt/lists/ && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/humble --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \ colcon build --event-handlers console_direct+ --install-base /opt/ros/humble --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
cd && \ cd && \