forked from USC-ACTLab/crazyswarm
-
Notifications
You must be signed in to change notification settings - Fork 111
47 lines (42 loc) · 1.29 KB
/
ci-ros2-mac.yml
File metadata and controls
47 lines (42 loc) · 1.29 KB
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
name: ROS2 (Mac)
# Disable for now
on:
push:
branches-ignore:
- '**'
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
jobs:
build: # Docker is not supported on macOS and Windows.
runs-on: macOS-latest
steps:
- uses: ros-tooling/setup-ros@v0.2
with:
required-ros-distributions: galactic
# There is a bug in vcstools, where submodules are not pulled recursively
# See https://github.com/dirk-thomas/vcstool/issues/205
# This is fixed in master, but not in the latest release
# Pull the latest version here
- name: install dependencies
run: |
sudo pip3 install git+https://github.com/dirk-thomas/vcstool.git@7d1329f296cef4b767bf7ba0bf53a29dd3d3019c
- name: Install dependencies
run: |
brew install libusb
- name: build and test ROS 2
uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: crazyflie crazyflie_interfaces
target-ros2-distro: galactic
colcon-defaults: |
{
"build": {
"packages-select": [
"crazyflie",
"crazyflie_interfaces"
]
}
}