diff options
author | Robert Tari <robert@tari.in> | 2022-01-11 16:22:49 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 09:21:11 +0100 |
commit | 57a149575e0dd4f00b4ea776781dc3c2fe4f9278 (patch) | |
tree | 09f35349daadabf48f5bf414c2c164a2e83951aa | |
parent | a9b2be7a5ea5f45648faaf12c7b1acf19fa1ad9b (diff) | |
download | ayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.tar.gz ayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.tar.bz2 ayatana-indicator-keyboard-57a149575e0dd4f00b4ea776781dc3c2fe4f9278.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -86,15 +86,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 |