diff options
author | Robert Tari <robert@tari.in> | 2022-01-11 16:56:43 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-01-11 16:56:43 +0100 |
commit | b1fd511ac5d29ca570f5c01007eb740c7ea7f934 (patch) | |
tree | 93fea00084081929e685d174560215bb385671a6 | |
parent | a7c80f64fe4a4a4db216bcb9b117ae233ada1157 (diff) | |
download | ayatana-indicator-bluetooth-b1fd511ac5d29ca570f5c01007eb740c7ea7f934.tar.gz ayatana-indicator-bluetooth-b1fd511ac5d29ca570f5c01007eb740c7ea7f934.tar.bz2 ayatana-indicator-bluetooth-b1fd511ac5d29ca570f5c01007eb740c7ea7f934.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-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 |