Skip to content

Commit

Permalink
CI-ros2: using docker approach
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed May 28, 2024
1 parent 20d5bb5 commit f1b80d2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
name: Build on ros2 ${{ matrix.ros_distro }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Build on ros2 ${{ matrix.ros_distro }} and ${{ matrix.docker_image }}
runs-on: ubuntu-latest
strategy:
matrix:
ros_distro: [humble, iron, jazzy]
include:
- ros_distro: 'humble'
os: ubuntu-22.04
docker_image: ubuntu:jammy
- ros_distro: 'iron'
os: ubuntu-22.04
docker_image: ubuntu:jammy
- ros_distro: 'jazzy'
os: ubuntu-24.04

docker_image: ubuntu:noble
container:
image: ${{ matrix.docker_image }}
steps:
- uses: ros-tooling/setup-ros@v0.7
with:
Expand Down

0 comments on commit f1b80d2

Please sign in to comment.