Skip to content

Commit

Permalink
build and test 'camera_ros' package on 'humble'
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Oct 30, 2023
1 parent adfce05 commit 0a3354d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/setup-ros@v0.7

- name: build and test
uses: ros-tooling/action-ros-ci@v0.3
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

0 comments on commit 0a3354d

Please sign in to comment.