diff options
author | Robert Tari <robert@tari.in> | 2022-01-14 13:51:12 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-01-14 14:03:31 +0100 |
commit | aaf337b83f7e737248bfa6ecdb88b19ea6aae711 (patch) | |
tree | aadc2ec00194bb08087b92e1f1ae1783314836cf | |
parent | b6278e2421712b04892001f8cf866a09580f309e (diff) | |
download | ayatana-ido-aaf337b83f7e737248bfa6ecdb88b19ea6aae711.tar.gz ayatana-ido-aaf337b83f7e737248bfa6ecdb88b19ea6aae711.tar.bz2 ayatana-ido-aaf337b83f7e737248bfa6ecdb88b19ea6aae711.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -81,15 +81,14 @@ variables: 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 |