aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-01-11 16:22:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:21:11 +0100
commit57a149575e0dd4f00b4ea776781dc3c2fe4f9278 (patch)
tree09f35349daadabf48f5bf414c2c164a2e83951aa
parenta9b2be7a5ea5f45648faaf12c7b1acf19fa1ad9b (diff)
downloadayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.tar.gz
ayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.tar.bz2
ayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.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 b748263b..14243060 100644
--- a/.build.yml
+++ b/.build.yml
@@ -86,15 +86,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