Skip to content

Commit 0a3354d

Browse files
build and test 'camera_ros' package on 'humble'
1 parent adfce05 commit 0a3354d

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: camera_ros build
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: camera_ros (${{ matrix.distribution }})
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
include:
13+
- # latest LTS
14+
version: 22.04
15+
distribution: humble
16+
continue-on-error: ${{ matrix.distribution == 'rolling' }}
17+
18+
container:
19+
image: ubuntu:${{ matrix.version }}
20+
21+
steps:
22+
- name: fetch source
23+
uses: actions/checkout@v4
24+
25+
- name: install ROS2 ${{ matrix.distribution }}
26+
uses: ros-tooling/[email protected]
27+
28+
- name: build and test
29+
uses: ros-tooling/[email protected]
30+
with:
31+
package-name: camera_ros
32+
target-ros2-distro: ${{ matrix.distribution }}
33+
colcon-defaults: |
34+
{
35+
"build": {
36+
"mixin": ["asan-gcc", "tsan", "coverage-gcc", "memcheck"]
37+
}
38+
}
39+
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/5d51dff38097e8c2bf46d7a5b804e65935aa7f47/index.yaml

0 commit comments

Comments
 (0)