aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:59:16 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:59:16 +0100
commit854485a8e5aa0fc231825e732da53f6d6f0eb489 (patch)
treeaadc2ec00194bb08087b92e1f1ae1783314836cf /.build.yml
parentb340930ce0eaf467cdf007dbbc7a0e650eeadbf4 (diff)
parentaaf337b83f7e737248bfa6ecdb88b19ea6aae711 (diff)
downloadayatana-ido-854485a8e5aa0fc231825e732da53f6d6f0eb489.tar.gz
ayatana-ido-854485a8e5aa0fc231825e732da53f6d6f0eb489.tar.bz2
ayatana-ido-854485a8e5aa0fc231825e732da53f6d6f0eb489.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #57: https://github.com/AyatanaIndicators/ayatana-ido/pull/57
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 837dc50..2f95896 100644
--- a/.build.yml
+++ b/.build.yml
@@ -81,15 +81,14 @@ variables:
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