forked from frankaemika/franka_ros2
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 1.04 KB
/
colcon.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
name: colcon
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
distribution: ["humble", "jazzy"]
container:
image: ros:${{ matrix.distribution }}-ros-core
steps:
- name: install dependencies
run: |
apt update
apt install -y --no-install-recommends python3-rosdep python3-vcstool python3-colcon-common-extensions
apt install -y --no-install-recommends python3-colcon-coveragepy-result python3-colcon-lcov-result lcov
apt install -y --no-install-recommends git build-essential
rosdep init
- uses: actions/checkout@v4
with:
sparse-checkout: .github/workflows/libfranka.repos
sparse-checkout-cone-mode: false
- uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.distribution }}
vcs-repo-file-url: ${{ github.workspace }}/.github/workflows/libfranka.repos
extra-cmake-args: "-D CMAKE_BUILD_TYPE=Release -D BUILD_TESTS=OFF -D BUILD_TESTING=ON -D BUILD_EXAMPLES=OFF"