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