diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 15:12:55 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 15:12:55 +0100 |
commit | f57b15b8be5f9062fd57f420ad88446956aa9e82 (patch) | |
tree | 5f6c0e35a2a23daa7bf8a1b8a5e0027dbd6e63db /.build.yml | |
parent | 6c32528d631e7a002a8a4f0a4574a662079c0b0f (diff) | |
parent | 7ba756aa76ad0d1d645f904cac54d0f6cefe67d0 (diff) | |
download | ayatana-indicator-display-f57b15b8be5f9062fd57f420ad88446956aa9e82.tar.gz ayatana-indicator-display-f57b15b8be5f9062fd57f420ad88446956aa9e82.tar.bz2 ayatana-indicator-display-f57b15b8be5f9062fd57f420ad88446956aa9e82.zip |
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #48: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/48
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |