diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 15:14:57 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 15:14:57 +0100 |
commit | cd08e1e357ee4948ac386574d45cde58d1837278 (patch) | |
tree | 93fea00084081929e685d174560215bb385671a6 /.build.yml | |
parent | aed99ec2f8f5b434e92afbb6d9e2dc0b243c7a8a (diff) | |
parent | b1fd511ac5d29ca570f5c01007eb740c7ea7f934 (diff) | |
download | ayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.tar.gz ayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.tar.bz2 ayatana-indicator-bluetooth-cd08e1e357ee4948ac386574d45cde58d1837278.zip |
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #37: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/37
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -107,15 +107,14 @@ before_scripts: build_scripts: # No C/C++ code in this project (only Vala). So skip cppcheck run. # - 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 |