Setup CI on branch

This commit is contained in:
matlabbe
2024-11-30 20:02:13 -08:00
parent e91c3bade1
commit 01ef7b862c
+6 -6
View File
@@ -3,9 +3,9 @@ name: ros2
on: on:
push: push:
branches: [ ros2 ] branches: [ jazzy-devel ]
pull_request: pull_request:
branches: [ ros2 ] branches: [ jazzy-devel ]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
ros_distro: [humble] ros_distro: [jazzy]
include: include:
- ros_distro: 'humble' - ros_distro: 'jazzy'
ubuntu_distro: 'jammy' ubuntu_distro: 'noble'
fail-fast: false fail-fast: false
container: container:
image: rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}-desktop-latest image: rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}-desktop-latest
@@ -34,7 +34,7 @@ jobs:
with: with:
required-ros-distributions: ${{ matrix.ros_distro }} required-ros-distributions: ${{ matrix.ros_distro }}
- run: | - run: |
echo "repositories:\n introlab/rtabmap:\n type: git\n url: https://github.com/introlab/rtabmap.git\n version: master\n" > /tmp/deps.repos &&\ echo "repositories:\n introlab/rtabmap:\n type: git\n url: https://github.com/introlab/rtabmap.git\n version: jazzy-devel\n" > /tmp/deps.repos &&\
cat /tmp/deps.repos cat /tmp/deps.repos
- uses: ros-tooling/[email protected] - uses: ros-tooling/[email protected]
with: with: