Enable warnings as errors for scons

Will this catch the outstanding issues?
This commit is contained in:
JJ Marr 2024-12-01 18:50:39 -05:00 committed by Charles Dang
parent a25d28e637
commit 70c89f819d

View file

@ -97,7 +97,7 @@ jobs:
build cdb
# disable all warnings since we have coverage on them in a standard build, and clang-tidy
# triggers false positive compiler warnings that clang itself won't
run-clang-tidy -use-color -j 2 -extra-arg="-w" '^(?!.*src/modules/|.*build/)'
run-clang-tidy -use-color -j 2 -extra-arg="-w" '^(?!.*src/modules/|.*build/)' -warnings-as-errors='*'
apt remove -y -qq libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev