-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (38 loc) · 988 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:
- master
pull_request:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
release:
types:
- released
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: [humble]
container:
image: ghcr.io/ros-industrial-consortium/scan_n_plan_workshop:${{ matrix.distro }}-4.4
env:
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
DEBIAN_FRONTEND: noninteractive
TZ: Etc/UTC
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: target_ws/src
- name: Build and Tests
uses: tesseract-robotics/colcon-action@v6
with:
before-script: source /opt/snp/install/setup.bash
ccache-prefix: ${{ matrix.distro }}
target-path: target_ws/src
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug