-
Notifications
You must be signed in to change notification settings - Fork 90
41 lines (39 loc) · 1019 Bytes
/
ubuntu.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
name: Ubuntu
on:
push:
branches:
- main
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- '*-format'
- '.gitignore'
workflow_dispatch:
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: [focal, jammy]
container:
image: ubuntu:${{ matrix.distro }}
env:
DEBIAN_FRONTEND: noninteractive
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: target_ws/src
- name: Build
uses: tesseract-robotics/colcon-action@v6
with:
ccache-enabled: false
rosdep-enabled: true
ros-enabled: false
vcs-file: dependencies.repos
target-path: target_ws/src
target-args: '-DCMAKE_BUILD_TYPE=Debug -DINDUSTRIAL_CALIBRATION_ENABLE_TESTING=ON -DINDUSTRIAL_CALIBRATION_ENABLE_RUN_TESTING=OFF -DINDUSTRIAL_CALIBRATION_ENABLE_CLANG_TIDY=ON'
run-tests: true