diff options
author | Robert Tari <robert@tari.in> | 2021-12-17 09:16:51 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 09:36:36 +0100 |
commit | c77322a1155bc22862bfbbf6d8a18a2c42c3f151 (patch) | |
tree | 6a840d2b29bc3c0571446562218c4f9296bf73dd | |
parent | d40de8a81a759eac8714ccde45243ca7f6ac1a91 (diff) | |
download | ayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.tar.gz ayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.tar.bz2 ayatana-indicator-session-c77322a1155bc22862bfbbf6d8a18a2c42c3f151.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -109,15 +109,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 |