aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-17 09:16:51 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:36:36 +0100
commitc77322a1155bc22862bfbbf6d8a18a2c42c3f151 (patch)
tree6a840d2b29bc3c0571446562218c4f9296bf73dd
parentd40de8a81a759eac8714ccde45243ca7f6ac1a91 (diff)
downloadayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.tar.gz
ayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.tar.bz2
ayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.zip
.build.yml: Drop extra compilation flags and build with -Werror
-rw-r--r--.build.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index ef19e0f..9ea3ad6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -109,15 +109,14 @@ before_scripts:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
-
- if [ -e ./CMakeLists.txt ]; then
- if [ ${DISTRO_NAME} == "debian" ] || [ ${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