-
Notifications
You must be signed in to change notification settings - Fork 10
46 lines (43 loc) · 1.18 KB
/
build.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
44
45
46
name: CI of mc_state_observation
on:
push:
paths-ignore:
# Changes to those files don't mandate running CI
- ".gitignore"
- ".github/workflows/package.yaml"
- debian/**
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
build-type: [RelWithDebInfo]
compiler: [gcc, clang]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
uses: jrl-umi3218/github-actions/install-dependencies@master
with:
compiler: ${{ matrix.compiler }}
build-type: ${{ matrix.build-type }}
ubuntu: |
apt: libltdl-dev libboost-all-dev doxygen doxygen-latex libmc-rtc-dev libgram-savitzky-golay-dev
apt-mirrors:
mc-rtc:
cloudsmith: mc-rtc/head
ros: |
apt: mc-rtc-plugin tf2-eigen
- name: Build and test
uses: jrl-umi3218/github-actions/build-cmake-project@master
with:
compiler: ${{ matrix.compiler }}
build-type: ${{ matrix.build-type }}