CI: Make most gcc warnings fatal for CMake builds

This makes sure we notice problems early.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-02-27 17:09:05 +00:00
parent 81e6a5e662
commit b03cb9f9cd

View file

@ -388,7 +388,7 @@ case "$ci_buildsys" in
;;
esac
cmake "$@" -DCMAKE_VERBOSE_MAKEFILE=ON ..
cmake "$@" -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON ..
${make}
# The test coverage for OOM-safety is too verbose to be useful on