-
Notifications
You must be signed in to change notification settings - Fork 14
58 lines (56 loc) · 1.6 KB
/
ros_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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build
on:
workflow_dispatch:
pull_request:
branches:
- 'master'
jobs:
build:
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
ros_distribution:
- humble
- iron
- rolling
include:
# Humble Hawksbill
- os: ubuntu
os_release: jammy
ros_distribution: humble
ros_version: 2
# Iron Irwini
- os: ubuntu
os_release: jammy
ros_distribution: iron
ros_version: 2
# Rolling Ridley
- os: ubuntu
os_release: jammy
ros_distribution: rolling
ros_version: 2
container:
image: '${{ matrix.os }}:${{ matrix.os_release }}'
steps:
- name: install prereqs
run: apt update && apt install -y sudo curl software-properties-common
- name: setup directories
run: mkdir -p ros_ws/src
- name: checkout
uses: actions/checkout@v2
with:
path: ros_ws/src
- name: setup ROS environment
uses: ros-tooling/[email protected]
with:
use-ros2-testing: false
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: rosdep install
run: "rosdep update && rosdep install -r --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }} -y"
- name: build
uses: ros-tooling/[email protected]
with:
package-name: rmw_ecal_dynamic_cpp
target-ros2-distro: ${{ matrix.ros_distribution }}
vcs-repo-file-url: ""