-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (38 loc) · 1.21 KB
/
ci.yaml
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: drake colcon ws
on:
push:
jobs:
build_testing:
runs-on: ubuntu-22.04
steps:
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: humble
- uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: drake
target-ros2-distro: humble
skip-tests: true
# Remove cmake-target after https://github.com/RobotLocomotion/ros-drake-vendor/issues/10
colcon-defaults: |
{
"build": {
"cmake-target": "install",
"merge-install": true
}
}
- name: checkout
uses: actions/checkout@v4
with:
repository: RobotLocomotion/drake-external-examples
ref: main
path: ros_ws/src
- name: build tests
shell: bash
working-directory: ros_ws
run: |
# gflags is required by drake_cmake_installed
sudo apt-get update && sudo apt-get install -y libgflags-dev
. /opt/ros/humble/setup.bash
. install/setup.bash
colcon build --merge-install --packages-select drake_cmake_installed drake_ament_cmake_installed --event-handlers console_direct+