diff options
author | Roger Leigh <rleigh@codelibre.net> | 2021-02-06 12:59:55 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2021-02-06 14:00:40 +0000 |
commit | f8ec97f576e5504516bb7cde2b77babf266d06a1 (patch) | |
tree | 2864813f964e96db8a9dbf1a7c887b6f2b42330a | |
parent | 2dacf7c34c003f99545208e22a2f6cbf0886bd63 (diff) | |
download | libtiff-git-f8ec97f576e5504516bb7cde2b77babf266d06a1.tar.gz |
ci: Enable fatal warnings with -Werror for GitLab CI
-rw-r--r-- | build/gitlab-ci | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/gitlab-ci b/build/gitlab-ci index 7b5d2498..1280f2c4 100644 --- a/build/gitlab-ci +++ b/build/gitlab-ci @@ -29,8 +29,9 @@ cmake_build() fi mkdir cmake-build cd cmake-build - echo "Running cmake -G "$1" -DCMAKE_BUILD_TYPE="$2" -DCMAKE_INSTALL_PREFIX=../autoconf-install ${opts} .." - cmake -G "$1" -DCMAKE_BUILD_TYPE="$2" -DCMAKE_INSTALL_PREFIX=../autoconf-install ${opts} .. + opts="-Dfatal-warnings=ON" + echo "Running cmake -G "$1" -DCMAKE_BUILD_TYPE="$2" -DCMAKE_INSTALL_PREFIX=../cmake-install ${opts} .." + cmake -G "$1" -DCMAKE_BUILD_TYPE="$2" -DCMAKE_INSTALL_PREFIX=../cmake-install ${opts} .. cmake --build . cmake --build . --target install ctest -V |