diff options
author | Robert Tari <robert@tari.in> | 2022-01-12 18:23:58 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-01-12 18:23:58 +0100 |
commit | 7ba756aa76ad0d1d645f904cac54d0f6cefe67d0 (patch) | |
tree | 5f6c0e35a2a23daa7bf8a1b8a5e0027dbd6e63db | |
parent | 20b381726943b11acc852f7de179005d221ec9fd (diff) | |
download | ayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.tar.gz ayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.tar.bz2 ayatana-indicator-display-7ba756aa76ad0d1d645f904cac54d0f6cefe67d0.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-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 |