]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Make most gcc warnings fatal for CMake builds
authorSimon McVittie <smcv@collabora.com>
Sun, 27 Feb 2022 17:09:05 +0000 (17:09 +0000)
committerSimon McVittie <smcv@collabora.com>
Sun, 27 Feb 2022 17:09:33 +0000 (17:09 +0000)
This makes sure we notice problems early.

Signed-off-by: Simon McVittie <smcv@collabora.com>
tools/ci-build.sh

index 5f2304064de566842eee480b249ce0fb93d3bc58..f286baa7221830e769e04641223bf82bb76205dd 100755 (executable)
@@ -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