-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (39 loc) · 1.02 KB
/
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
42
43
name: Ubuntu [Focal, Jammy, Noble]
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 5 * * *'
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
container:
image: ubuntu:${{ matrix.distro }}
env:
DEBIAN_FRONTEND: noninteractive
strategy:
fail-fast: false
matrix:
distro: [focal, jammy, noble]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: target_ws/src
- name: Install dependencies
run: |
apt update -q
apt install -q -y clang-tidy
- name: Build and test
uses: tesseract-robotics/colcon-action@v9
with:
ccache-enabled: false
add-ros-ppa: true
rosdep-enabled: true
vcs-file: dependencies.repos
target-path: target_ws/src
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DDESCARTES_ENABLE_TESTING=ON -DDESCARTES_ENABLE_CLANG_TIDY=ON
run-tests: true