aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-01-12 18:23:58 +0100
committerRobert Tari <robert@tari.in>2022-01-12 18:23:58 +0100
commit7ba756aa76ad0d1d645f904cac54d0f6cefe67d0 (patch)
tree5f6c0e35a2a23daa7bf8a1b8a5e0027dbd6e63db /.build.yml
parent20b381726943b11acc852f7de179005d221ec9fd (diff)
downloadayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.tar.gz
ayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.tar.bz2
ayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.zip
.build.yml: Drop extra compilation flags and build with -Werror
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 133fb10..46aead6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -142,15 +142,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