forked from jatinchowdhury18/RTNeural
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 818 Bytes
/
radsan.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
name: RADSan Real-Time Safety
on: [push]
#on:
# push:
# branches:
# - main
# - develop
# pull_request:
# branches:
# - main
# - develop
jobs:
build_and_test:
name: Check real-time safety with RADSan
runs-on: ubuntu-latest
container: realtimesanitizer/radsan-clang:latest
steps:
- name: Install CMake and Git
run: apt-get update && apt-get install -y cmake git
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
- name: Configure
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DRTNEURAL_ENABLE_RADSAN=ON
- name: Build
run: cmake --build build --config Release --parallel --target rtneural_test_realtime
- name: Test
run: cd build && ./tests/realtime/rtneural_test_realtime