Files
rtabmap_ros/.github/workflows/ros2.yml
T
matlabbe 50fe38ef6c Adding ROS2 Kilted to CI (#1322)
* Adding ROS2 Kilted to CI

* updated ros2 ci workflow

* updated version of action-ros-ci

* Updated dev containers, fixed kilted build

* Added git autocompletion
2025-06-08 15:01:07 -07:00

36 lines
918 B
YAML

name: ros2
on:
push:
branches: [ ros2 ]
pull_request:
branches: [ ros2 ]
env:
BUILD_TYPE: Release
jobs:
build:
name: Build ros2 ${{ matrix.ros_distro }}
runs-on: ubuntu-latest
strategy:
matrix:
ros_distro: [humble, jazzy, kilted]
fail-fast: false
container:
image: osrf/ros:${{ matrix.ros_distro }}-desktop-full
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distro }}
- run: |
echo "repositories:\n introlab/rtabmap:\n type: git\n url: https://github.com/introlab/rtabmap.git\n version: master\n" > /tmp/deps.repos &&\
cat /tmp/deps.repos
- uses: ros-tooling/[email protected]
with:
package-name: rtabmap_ros
target-ros2-distro: ${{ matrix.ros_distro }}
vcs-repo-file-url: /tmp/deps.repos