Skip to content

Commit ff233bc

Browse files
use correct matrix strategy
1 parent 89e0668 commit ff233bc

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

.github/workflows/rolling-pre-commit.yml

+14-9
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ on:
77
- master
88

99
jobs:
10-
pre-commit-iron:
10+
pre-commit:
1111
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
include:
16+
- ROS_DISTRO: iron
17+
CONTAINER: ""
18+
OS_NAME: ubuntu-22.04
19+
- ROS_DISTRO: rolling
20+
CONTAINER: ubuntu:24.04
21+
OS_NAME: ubuntu-latest
1222
with:
13-
ros_distro: iron
14-
os_name: ubuntu-22.04
15-
16-
pre-commit-rolling:
17-
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
18-
with:
19-
ros_distro: rolling
20-
container: ubuntu:24.04
23+
ros_distro: ${{ matrix.ROS_DISTRO }}
24+
os_name: ${{ matrix.OS_NAME }}
25+
container: ${{ matrix.CONTAINER }}

.github/workflows/rolling-source-build.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ROS_DISTRO: [rolling, iron]
17+
include:
18+
- ROS_DISTRO: iron
19+
CONTAINER: ""
20+
OS_NAME: ubuntu-22.04
21+
- ROS_DISTRO: rolling
22+
CONTAINER: ubuntu:24.04
23+
OS_NAME: ubuntu-latest
1824
with:
1925
ros_distro: ${{ matrix.ROS_DISTRO }}
20-
ref: master
26+
ref: ros2-master
2127
ros2_repo_branch: ${{ matrix.ROS_DISTRO }}
22-
container: ubuntu:24.04
28+
os_name: ${{ matrix.OS_NAME }}
29+
container: ${{ matrix.CONTAINER }}

0 commit comments

Comments
 (0)