Skip to content

Commit 78e7cd4

Browse files
committed
Add ros_distribution
1 parent c41eedd commit 78e7cd4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
matrix:
4747
node-version: [20.X, 22.X, 24.X]
4848
architecture: [x64]
49+
ros_distribution:
50+
- humble
51+
- jazzy
52+
- kilted
53+
- rolling
4954
include:
5055
# Humble Hawksbill (May 2022 - May 2027)
5156
- docker_image: ubuntu:jammy
@@ -55,7 +60,7 @@ jobs:
5560
ros_distribution: jazzy
5661
# Kilted Kaiju (May 2025 - Dec 2026)
5762
- docker_image: ubuntu:noble
58-
ros_distribution: rolling
63+
ros_distribution: kilted
5964
# Rolling Ridley (No End-Of-Life)
6065
- docker_image: ubuntu:noble
6166
ros_distribution: rolling
@@ -73,14 +78,14 @@ jobs:
7378

7479
- name: Install test-msgs on Linux
7580
run: |
76-
sudo apt install ros-${{ needs.identify-ros-distro.outputs.distro }}-test-msgs
81+
sudo apt install ros-${{ matrix.ros_distribution }}-test-msgs
7782
7883
- uses: actions/checkout@v4
7984

8085
- name: Build and test rclnodejs
8186
run: |
8287
uname -a
83-
source /opt/ros/${{ needs.identify-ros-distro.outputs.distro }}/setup.bash
88+
source /opt/ros/${{ matrix.ros_distribution }}/setup.bash
8489
npm i
8590
npm run lint
8691
npm test

0 commit comments

Comments
 (0)