forked from stepanvanecek/sys-sage
-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (41 loc) · 1.11 KB
/
ci.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
on: [push]
jobs:
test:
name: Unit Tests
uses: ./.github/workflows/test.yml
asan:
name: Address Sanitizer
needs: test
uses: ./.github/workflows/test.yml
with:
flags: -DTEST_ASAN=ON
tsan:
name: Thread Sanitizer
needs: test
uses: ./.github/workflows/test.yml
with:
flags: -DTEST_TSAN=ON
ubsan:
name: Undefined Behaviour Sanitizer
needs: test
uses: ./.github/workflows/test.yml
with:
flags: -DTEST_UBSAN=ON
doc:
name: Documentation
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install Doxygen
run: sudo apt install doxygen
- name: Install coverxygen
run: pip3 install coverxygen
- name: Generate documentation
run: cd docs && doxygen Doxyfile
- name: Generate documentation coverage
run: cd docs && python3 -m coverxygen --xml-dir xml --src-dir ../src/ --output doc-coverage.info --format json-v3
- name: Documentation report
run: cd docs && ./show_undocumented.py doc-coverage.info