From: Simon McVittie Date: Sun, 27 Feb 2022 17:09:05 +0000 (+0000) Subject: CI: Make most gcc warnings fatal for CMake builds X-Git-Tag: dbus-1.14.0~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03cb9f9cdc30b097fab44b10ac62785acac9f5d;p=thirdparty%2Fdbus.git CI: Make most gcc warnings fatal for CMake builds This makes sure we notice problems early. Signed-off-by: Simon McVittie --- diff --git a/tools/ci-build.sh b/tools/ci-build.sh index 5f2304064..f286baa72 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -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