-
Notifications
You must be signed in to change notification settings - Fork 34
45 lines (42 loc) · 1.27 KB
/
ci.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
40
41
42
43
44
45
name: CI gst_bridge
on:
pull_request:
branches: [ ros2 ]
#schedule:
# # Run once per month to detect broken dependencies.
# - cron: '43 15 23 * *'
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
ros_distribution: [ foxy, galactic, humble, rolling ]
include:
- ros_distribution: foxy
docker_image: ubuntu:focal
use_ros_testing: true
- ros_distribution: galactic
docker_image: ubuntu:focal
use_ros_testing: true
- ros_distribution: humble
docker_image: ubuntu:jammy
use_ros_testing: true
- ros_distribution: rolling
docker_image: ubuntu:jammy
use_ros_testing: true
container:
image: ${{ matrix.docker_image }}
steps:
- name: setup ROS environment
uses: ros-tooling/setup-ros@v0.6
with:
use-ros2-testing: ${{ matrix.use_ros_testing }}
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: build and test
uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: "audio_msgs gst_bridge gst_pipeline"
target-ros2-distro: ${{ matrix.ros_distribution }}