-
Notifications
You must be signed in to change notification settings - Fork 23
55 lines (40 loc) · 1.47 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
on: [push]
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