-
Notifications
You must be signed in to change notification settings - Fork 23
71 lines (54 loc) · 1.8 KB
/
main.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
on:
push:
branches:
- master
pull_request:
branches:
- master
name: cactus-rt
jobs:
build-and-test:
runs-on: [self-hosted, noble, real-time]
env:
CACTUS_RT_BUILD_DIR: build
steps:
- uses: actions/checkout@v3
- name: Check if clang format is necessary
run: docker/scripts/00-format.sh
- name: Setup dependencies
run: sudo apt-get update && sudo apt-get install -y libspdlog-dev liblttng-ust-dev libboost-dev doxygen graphviz protobuf-compiler libgtest-dev libbenchmark-dev
- name: Build library
run: docker/scripts/01-build.sh
- name: Test
run: docker/scripts/02-test.sh
- name: Benchmark
run: docker/scripts/03-benchmark.sh
# - name: Run example
# run: docker/scripts/04-example.sh
build-and-test-no-tracing:
runs-on: [self-hosted, noble, real-time]
env:
CACTUS_RT_BUILD_DIR: build
ENABLE_TRACING: "OFF"
steps:
- uses: actions/checkout@v3
- name: Check if clang format is necessary
run: docker/scripts/00-format.sh
- name: Setup dependencies
run: sudo apt-get update && sudo apt-get install -y libspdlog-dev liblttng-ust-dev libboost-dev doxygen graphviz protobuf-compiler libgtest-dev libbenchmark-dev
- name: Build library
run: docker/scripts/01-build.sh
- name: Test
run: docker/scripts/02-test.sh
- name: Benchmark
run: docker/scripts/03-benchmark.sh
# - name: Run example
# run: docker/scripts/04-example.sh
build-and-test-ros:
runs-on: [self-hosted, noble, real-time]
env:
image_name: ${{ github.workflow }}-ci-${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- name: Test ROS in docker
run: scripts/test-ros-in-docker