Skip to content

Commit 1c1f02f

Browse files
authored
Refactor GitHub Actions workflow for jazzy
1 parent ad2fecb commit 1c1f02f

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

.github/workflows/jazzy.yaml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,25 @@ on:
99
- jazzy
1010

1111
jobs:
12-
build-and-test:
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
os: [ubuntu-24.04]
17-
fail-fast: false
18-
steps:
12+
build_and_test:
13+
runs-on: ubuntu-24.04
14+
container:
15+
image: ubuntu:noble
16+
steps:
1917
- name: Repo checkout
2018
uses: actions/checkout@v4
21-
19+
with:
20+
ref: jazzy
2221
- name: Setup ROS 2
2322
uses: ros-tooling/setup-ros@0.7.15
2423
with:
2524
required-ros-distributions: jazzy
26-
2725
- name: install pcl
28-
run: sudo apt install libpcl-dev libpcl-*
29-
- name: install grid_map
30-
run: sudo apt install ros-jazzy-grid-map-ros
26+
run: sudo apt update && sudo apt install -y libpcl-dev
27+
- name: install grid map
28+
run: sudo apt install -y ros-jazzy-grid-map-ros
3129
- name: install g2o
32-
run: sudo apt install libg2o-dev
33-
30+
run: sudo apt install -y libg2o-dev
3431
- name: build and test
3532
uses: ros-tooling/action-ros-ci@0.4.5
3633
with:

0 commit comments

Comments
 (0)