summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-08-06 09:12:48 +0200
committerPatrick Steinhardt <ps@pks.im>2018-08-06 12:04:50 +0200
commit900846571905cf7a9530d2680c627fde6044db92 (patch)
treed4a7477a1946406531c2c8d32b0e57f04922f158 /ci
parent0fcd05631a1f59e156e613448262800c155e79d0 (diff)
downloadlibgit2-900846571905cf7a9530d2680c627fde6044db92.tar.gz
ci: enable compilation with "-Werror"
During the conversion of our CI scripts in bf418f09c (ci: refactor unix ci build/test scripts, 2018-07-14), we accidentally dropped the "-DENABLE_WERROR=ON" switch in our cmake invocation. Re-add it to help us catch compiler warnings early.
Diffstat (limited to 'ci')
-rwxr-xr-xci/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build.sh b/ci/build.sh
index 0dd8f6772..ddd9cb68a 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -29,7 +29,7 @@ echo "## Configuring build environment"
echo "##############################################################################"
echo cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON ${CMAKE_OPTIONS}
-cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS}
+cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS}
echo ""
echo "##############################################################################"