mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Add doxygen to CI
This commit is contained in:
parent
6fa7bc86f6
commit
302893efe5
2 changed files with 2684 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
@ -52,6 +52,32 @@ jobs:
|
||||||
run: cmake --build build --target ${{ matrix.tool }}
|
run: cmake --build build --target ${{ matrix.tool }}
|
||||||
|
|
||||||
|
|
||||||
|
documentation:
|
||||||
|
|
||||||
|
# TODO: Fail in case of (too many) warnings, upload artifacts
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: print environment
|
||||||
|
run: env
|
||||||
|
- name: dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update && \
|
||||||
|
sudo apt-get install -yq libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev \
|
||||||
|
libopus-dev alsa-utils libpulse-dev libavahi-client-dev libssl-dev \
|
||||||
|
avahi-daemon debhelper ccache expat cppcheck doxygen graphviz
|
||||||
|
- name: doxygen
|
||||||
|
run: |
|
||||||
|
mkdir -p build/doxygen
|
||||||
|
doxygen 2>&1 | tee build/doxygen.log
|
||||||
|
WARNINGS=$(cat build/doxygen.log | sort | uniq | grep -e ": warning: " | wc -l)
|
||||||
|
echo "Doxygen finished with $WARNINGS warnings"
|
||||||
|
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue