Skip to content

Commit c41eedd

Browse files
committed
Include all LTS ROS2 on develop branch
1 parent c4dbb8d commit c41eedd

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/linux-build-and-test.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,27 @@ jobs:
3838
3939
build:
4040
needs: [identify-ros-distro, matrix-prep]
41-
runs-on: ubuntu-${{ matrix.ubuntu-version }}
41+
runs-on: ubuntu-latest
4242
container:
43-
image: ${{ needs.identify-ros-distro.outputs.linuxos }}
43+
image: ${{ matrix.docker_image }}
4444
strategy:
4545
fail-fast: false
4646
matrix:
4747
node-version: [20.X, 22.X, 24.X]
4848
architecture: [x64]
49-
ubuntu-version: [latest]
50-
# Include arm64 configuration from matrix-prep job
51-
include: ${{ fromJSON(needs.matrix-prep.outputs.arm64-matrix) }}
49+
include:
50+
# Humble Hawksbill (May 2022 - May 2027)
51+
- docker_image: ubuntu:jammy
52+
ros_distribution: humble
53+
# Jazzy Jalisco (May 2024 - May 2029)
54+
- docker_image: ubuntu:noble
55+
ros_distribution: jazzy
56+
# Kilted Kaiju (May 2025 - Dec 2026)
57+
- docker_image: ubuntu:noble
58+
ros_distribution: rolling
59+
# Rolling Ridley (No End-Of-Life)
60+
- docker_image: ubuntu:noble
61+
ros_distribution: rolling
5262
steps:
5363
- name: Setup Node.js ${{ matrix.node-version }} on ${{ matrix.architecture }}
5464
uses: actions/setup-node@v4
@@ -59,8 +69,7 @@ jobs:
5969
- name: Setup ROS2
6070
uses: ros-tooling/[email protected]
6171
with:
62-
required-ros-distributions: ${{ needs.identify-ros-distro.outputs.distro }}
63-
use-ros2-testing: true
72+
required-ros-distributions: ${{ matrix.ros_distribution }}
6473

6574
- name: Install test-msgs on Linux
6675
run: |

0 commit comments

Comments
 (0)