Skip to content

Commit bc5ce2e

Browse files
authored
Add doxygen infrastructure and CI check (#4)
1 parent f0176df commit bc5ce2e

File tree

7 files changed

+2498
-33
lines changed

7 files changed

+2498
-33
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ jobs:
6060
run: |
6161
find source/ -iname '*.c' |\
6262
xargs complexity --scores --threshold=0 --horrid-threshold=8
63+
doxygen:
64+
runs-on: ubuntu-20.04
65+
steps:
66+
- uses: actions/checkout@v2
67+
- name: Install Doxygen
68+
run: |
69+
wget -qO- "http://doxygen.nl/files/doxygen-1.8.20.linux.bin.tar.gz" | sudo tar --strip-components=1 -xz -C /usr/local
70+
sudo apt-get install -y libclang-9-dev
71+
- name: Run Doxygen And Verify Stdout Is Empty
72+
run: |
73+
doxygen docs/doxygen/config.doxyfile 2>&1 | tee doxyoutput.txt
74+
if [[ "$(wc -c < doxyoutput.txt | bc)" = "0" ]]; then exit 0; else exit 1; fi
6375
spell-check:
6476
runs-on: ubuntu-latest
6577
steps:

0 commit comments

Comments
 (0)