aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:36:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-27 09:36:54 +0100
commitf62c629fff89371af4630ebe8bc74b8075fbf52a (patch)
tree6a840d2b29bc3c0571446562218c4f9296bf73dd /.build.yml
parent1ea9f8bdeb14b770a98a6f33d548d51bfed72cb8 (diff)
parentc77322a1155bc22862bfbbf6d8a18a2c42c3f151 (diff)
downloadayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.tar.gz
ayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.tar.bz2
ayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #65: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/65
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index ef19e0f..9ea3ad6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -109,15 +109,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