mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 21:19:18 +00:00
Add a CI check for doxygen issues.
This commit is contained in:
parent
4c2b725ec0
commit
551aa31390
3
.github/workflows/ci-scripts/docker.sh
vendored
3
.github/workflows/ci-scripts/docker.sh
vendored
|
@ -136,6 +136,9 @@ fi
|
|||
|
||||
execute "WML validation" ./utils/CI/schema_validation.sh
|
||||
execute "WML indentation check" checkindent
|
||||
if [ "$IMAGE" != "1804" ]; then
|
||||
execute "Doxygen check" ./utils/CI/doxygen-check.sh
|
||||
fi
|
||||
execute "WML tests" ./run_wml_tests -g -v -c -t 20
|
||||
execute "Play tests" ./utils/CI/play_test_executor.sh
|
||||
execute "Boost unit tests" ./utils/CI/test_executor.sh
|
||||
|
|
12
utils/CI/doxygen-check.sh
Executable file
12
utils/CI/doxygen-check.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
doxygen Doxyfile > doxy-output.txt 2>&1
|
||||
LINES=`cat doxy-output.txt | wc -l`
|
||||
|
||||
if [ "$LINES" == "0" ]; then
|
||||
echo "No doxygen errors or warnings!"
|
||||
else
|
||||
echo "Found doxygen errors or warnings!"
|
||||
cat doxy-output.txt
|
||||
exit 1
|
||||
fi
|
|
@ -23,6 +23,6 @@ RUN pip3 install --upgrade pip
|
|||
RUN yes | pip3 install paramiko
|
||||
|
||||
# programs
|
||||
RUN apt install -y -qq openssl gdb xvfb bzip2 git scons cmake make ccache gcc g++ clang lld
|
||||
RUN apt install -y -qq openssl gdb xvfb bzip2 git scons cmake make ccache gcc g++ clang lld doxygen graphviz
|
||||
|
||||
WORKDIR /home/wesnoth-travis
|
||||
|
|
|
@ -23,6 +23,6 @@ RUN pip3 install --upgrade pip
|
|||
RUN yes | pip3 install paramiko
|
||||
|
||||
# programs
|
||||
RUN apt install -y -qq openssl gdb xvfb bzip2 git scons cmake make ccache gcc g++ clang lld
|
||||
RUN apt install -y -qq openssl gdb xvfb bzip2 git scons cmake make ccache gcc g++ clang lld doxygen graphviz
|
||||
|
||||
WORKDIR /home/wesnoth-travis
|
||||
|
|
Loading…
Reference in New Issue
Block a user