aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-02-11 15:26:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:41:25 +0100
commit20dbe77b8382c53650dffa0bf78a71c43d848d5d (patch)
treed99cbed11c392778406fe64c7c8cc1e7f7959507
parentbfc0251b1e448ea595b5837c46cb5656bc666ec4 (diff)
downloadayatana-indicator-datetime-20dbe77b8382c53650dffa0bf78a71c43d848d5d.tar.gz
ayatana-indicator-datetime-20dbe77b8382c53650dffa0bf78a71c43d848d5d.tar.bz2
ayatana-indicator-datetime-20dbe77b8382c53650dffa0bf78a71c43d848d5d.zip
.build.yml: Build with -Werror
-rw-r--r--.build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index cba0170..fe8c462 100644
--- a/.build.yml
+++ b/.build.yml
@@ -231,11 +231,11 @@ build_scripts:
-
- if [ -e ./CMakeLists.txt ]; then
- if [ ${DISTRO_NAME} == "debian" ]; then
- - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DENABLE_LOMIRI_FEATURES=ON
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON -DENABLE_LOMIRI_FEATURES=ON
- elif [ ${DISTRO_NAME} == "ubuntu" ]; then
- - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON
- else
- - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON
- fi
- else
- exit 1