Skip to content

Commit ca13f2e

Browse files
committed
Update CI to use container workers
1 parent 439a840 commit ca13f2e

8 files changed

Lines changed: 24 additions & 56 deletions

File tree

.github/workflows/humble.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,15 @@ on:
99
- humble
1010
jobs:
1111
build-and-test:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-22.04]
16-
fail-fast: false
12+
runs-on: ubuntu-22.04
13+
container:
14+
image: ubuntu:jammy
1715
steps:
1816
- uses: actions/checkout@v4
1917
with:
2018
ref: humble
2119
- name: Setup ROS 2
2220
uses: ros-tooling/setup-ros@0.7.15
23-
with:
24-
required-ros-distributions: humble
2521
- name: build and test
2622
uses: ros-tooling/action-ros-ci@0.4.5
2723
with:

.github/workflows/humble_cron.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
- cron: '0 0 * * 6'
66
jobs:
77
build-and-test:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
matrix:
11-
os: [ubuntu-22.04]
12-
fail-fast: false
8+
runs-on: ubuntu-22.04
9+
container:
10+
image: ubuntu:jammy
1311
steps:
1412
- uses: actions/checkout@v4
1513
with:
1614
ref: humble
1715
- name: Setup ROS 2
1816
uses: ros-tooling/setup-ros@0.7.15
19-
with:
20-
required-ros-distributions: humble
2117
- name: build and test
2218
uses: ros-tooling/action-ros-ci@0.4.5
2319
with:

.github/workflows/jazzy.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,15 @@ on:
99
- jazzy
1010
jobs:
1111
build-and-test:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-24.04]
16-
fail-fast: false
12+
runs-on: ubuntu-24.04
13+
container:
14+
image: ubuntu:noble
1715
steps:
1816
- uses: actions/checkout@v4
1917
with:
2018
ref: jazzy
2119
- name: Setup ROS 2
2220
uses: ros-tooling/setup-ros@0.7.15
23-
with:
24-
required-ros-distributions: jazzy
2521
- name: build and test
2622
uses: ros-tooling/action-ros-ci@0.4.5
2723
with:

.github/workflows/jazzy_cron.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
- cron: '0 0 * * 6'
66
jobs:
77
build-and-test:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
matrix:
11-
os: [ubuntu-24.04]
12-
fail-fast: false
8+
runs-on: ubuntu-24.04
9+
container:
10+
image: ubuntu:noble
1311
steps:
1412
- uses: actions/checkout@v4
1513
with:
1614
ref: jazzy
1715
- name: Setup ROS 2
1816
uses: ros-tooling/setup-ros@0.7.15
19-
with:
20-
required-ros-distributions: jazzy
2117
- name: build and test
2218
uses: ros-tooling/action-ros-ci@0.4.5
2319
with:

.github/workflows/kilted.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,15 @@ on:
99
- kilted
1010
jobs:
1111
build-and-test:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-24.04]
16-
fail-fast: false
12+
runs-on: ubuntu-24.04
13+
container:
14+
image: ubuntu:noble
1715
steps:
1816
- uses: actions/checkout@v4
1917
with:
2018
ref: kilted
2119
- name: Setup ROS 2
2220
uses: ros-tooling/setup-ros@0.7.15
23-
with:
24-
required-ros-distributions: kilted
2521
- name: build and test
2622
uses: ros-tooling/action-ros-ci@0.4.5
2723
with:

.github/workflows/kilted_cron.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
- cron: '0 0 * * 6'
66
jobs:
77
build-and-test:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
matrix:
11-
os: [ubuntu-24.04]
12-
fail-fast: false
8+
runs-on: ubuntu-24.04
9+
container:
10+
image: ubuntu:noble
1311
steps:
1412
- uses: actions/checkout@v4
1513
with:
1614
ref: kilted
1715
- name: Setup ROS 2
1816
uses: ros-tooling/setup-ros@0.7.15
19-
with:
20-
required-ros-distributions: kilted
2117
- name: build and test
2218
uses: ros-tooling/action-ros-ci@0.4.5
2319
with:

.github/workflows/rolling.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,15 @@ on:
99
- rolling
1010
jobs:
1111
build-and-test:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-24.04]
16-
fail-fast: false
12+
runs-on: ubuntu-24.04
13+
container:
14+
image: ubuntu:noble
1715
steps:
1816
- uses: actions/checkout@v4
1917
with:
2018
ref: rolling
2119
- name: Setup ROS 2
2220
uses: ros-tooling/setup-ros@0.7.15
23-
with:
24-
required-ros-distributions: rolling
2521
- name: build and test
2622
uses: ros-tooling/action-ros-ci@0.4.5
2723
with:

.github/workflows/rolling_cron.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
- cron: '0 0 * * 6'
66
jobs:
77
build-and-test:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
matrix:
11-
os: [ubuntu-24.04]
12-
fail-fast: false
8+
runs-on: ubuntu-24.04
9+
container:
10+
image: ubuntu:noble
1311
steps:
1412
- uses: actions/checkout@v4
1513
with:
1614
ref: rolling
1715
- name: Setup ROS 2
1816
uses: ros-tooling/setup-ros@0.7.15
19-
with:
20-
required-ros-distributions: rolling
2117
- name: build and test
2218
uses: ros-tooling/action-ros-ci@0.4.5
2319
with:

0 commit comments

Comments
 (0)