CI: updated ros2 workflow description

This commit is contained in:
matlabbe
2024-06-02 10:54:00 -07:00
parent 54f9ec9c39
commit ead695d2b8
+5 -5
View File
@@ -17,21 +17,21 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix # 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.docker_image }} name: Build on ros2 ${{ matrix.ros_distro }} on ubuntu ${{ matrix.ubuntu_distro }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
ros_distro: [humble, iron, jazzy] ros_distro: [humble, iron, jazzy]
include: include:
- ros_distro: 'humble' - ros_distro: 'humble'
docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-desktop-latest ubuntu_distro: 'jammy'
- ros_distro: 'iron' - ros_distro: 'iron'
docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-desktop-latest ubuntu_distro: 'jammy'
- ros_distro: 'jazzy' - ros_distro: 'jazzy'
docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-desktop-latest ubuntu_distro: 'noble'
fail-fast: false fail-fast: false
container: container:
image: ${{ matrix.docker_image }} image: rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.docker_image }}-desktop-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ros-tooling/[email protected] - uses: ros-tooling/[email protected]