diff options
author | Robert Tari <robert@tari.in> | 2022-01-13 12:56:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-01 07:58:22 +0100 |
commit | f441fabc655a021e161e59f26c302b9a94b5c3fc (patch) | |
tree | ad3dd0c1d6bc31e037fc97ef3fc9f925841c4c34 | |
parent | 59283b0aac2dc12e955a3dd9604cc129f19ef74a (diff) | |
download | qmenumodel-f441fabc655a021e161e59f26c302b9a94b5c3fc.tar.gz qmenumodel-f441fabc655a021e161e59f26c302b9a94b5c3fc.tar.bz2 qmenumodel-f441fabc655a021e161e59f26c302b9a94b5c3fc.zip |
.build.yml: Drop extra compilation flags and build with -Werror
-rw-r--r-- | .build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -79,7 +79,6 @@ variables: build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - fi - @@ -88,9 +87,9 @@ build_scripts: - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum - elif [ -e ./CMakeLists.txt ]; then - if [ ${DISTRO_NAME} == "debian" ];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 |