1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-02-03 09:30:10 +01:00

Codechange: [CI] Sort doxygen warnings in docs checker.

This commit is contained in:
Rito12
2026-01-28 13:22:42 +01:00
committed by rubidium42
parent e869d4f2bd
commit 31531e616e

View File

@@ -45,21 +45,20 @@ jobs:
echo "::group::Build Source"
cmake --build build --target docs_source
mv build/Warnings.source doxygen_warnings.PR
python3 .github/sort_doxygen_warnings.py build/Warnings.source doxygen_warnings.PR
echo "::endgroup::"
echo "::group::Build AI"
cmake --build build --target docs_ai
mv build/Warnings.AI doxygen_AI_warnings.PR
python3 .github/sort_doxygen_warnings.py build/Warnings.AI doxygen_AI_warnings.PR
echo "::endgroup::"
echo "::group::Build GS"
cmake --build build --target docs_game
mv build/Warnings.GS doxygen_GS_warnings.PR
python3 .github/sort_doxygen_warnings.py build/Warnings.GS doxygen_GS_warnings.PR
echo "::endgroup::"
rm -r build
git restore Doxyfile.in src/script/api/Doxyfile_AI.in src/script/api/Doxyfile_GS.in
- name: Build docs for base branch
run: |
@@ -72,17 +71,17 @@ jobs:
echo "::group::Build Source"
cmake --build build --target docs_source
mv build/Warnings.source doxygen_warnings.base
python3 .github/sort_doxygen_warnings.py build/Warnings.source doxygen_warnings.base
echo "::endgroup::"
echo "::group::Build AI"
cmake --build build --target docs_ai
mv build/Warnings.AI doxygen_AI_warnings.base
python3 .github/sort_doxygen_warnings.py build/Warnings.AI doxygen_AI_warnings.base
echo "::endgroup::"
echo "::group::Build GS"
cmake --build build --target docs_game
mv build/Warnings.GS doxygen_GS_warnings.base
python3 .github/sort_doxygen_warnings.py build/Warnings.GS doxygen_GS_warnings.base
echo "::endgroup::"
rm -r build