-
Notifications
You must be signed in to change notification settings - Fork 139
40 lines (37 loc) · 963 Bytes
/
build.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
name: Build package
# CI runs over all branches that do not contain 'ros1' in the name
on:
push:
schedule:
- cron: '0 0 * * *'
defaults:
run:
shell: bash
jobs:
focal:
name: "Build on Ubuntu Focal"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: foxy
- uses: ros-tooling/[email protected]
with:
package-name: px4_msgs
target-ros2-distro: foxy
jammy:
name: "Build on Ubuntu Jammy"
runs-on: ubuntu-22.04
strategy:
matrix:
ros2_distro: [humble, rolling]
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros2_distro }}
- uses: ros-tooling/[email protected]
with:
package-name: px4_msgs
target-ros2-distro: ${{ matrix.ros2_distro }}