Skip to content

Commit 5a50b40

Browse files
authored
Merge pull request #4 from ros-tooling/emerson/fix-ci
Fix CI
2 parents 7cca01c + c26fd98 commit 5a50b40

File tree

2 files changed

+42
-46
lines changed

2 files changed

+42
-46
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and test
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_and_test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- ros: humble
16+
ubuntu: jammy
17+
- ros: jazzy
18+
ubuntu: noble
19+
- ros: rolling
20+
ubuntu: noble
21+
name: ROS 2 ${{ matrix.ros }}
22+
container:
23+
image: rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu }}-latest
24+
env:
25+
ROS_DISTRO: ${{ matrix.ros }}
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: ros-tooling/action-ros-ci@v0.3
29+
with:
30+
target-ros2-distro: ${{ matrix.ros }}
31+
colcon-defaults: |
32+
{
33+
"build": {
34+
"cmake-args": [
35+
"-DCMAKE_CXX_FLAGS=\"-Werror\""
36+
]
37+
}
38+
}
39+
- uses: actions/upload-artifact@v4
40+
with:
41+
name: colcon-logs-${{ matrix.ros }}
42+
path: ros_ws/log

.github/workflows/test.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)