aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-02-17 23:59:25 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-18 08:25:19 +0100
commitd61f8357fd7a8fbbd5eeaf594863a92401d25693 (patch)
treedae68f1052a0c848bc9f22542fb170d8a93acf45
parente112ae970b0719de8158fdc1deb281e2ee098390 (diff)
downloadayatana-indicator-sound-d61f8357fd7a8fbbd5eeaf594863a92401d25693.tar.gz
ayatana-indicator-sound-d61f8357fd7a8fbbd5eeaf594863a92401d25693.tar.bz2
ayatana-indicator-sound-d61f8357fd7a8fbbd5eeaf594863a92401d25693.zip
.build.yml: Build with -Werror
-rw-r--r--.build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index cbbed1a..18b3641 100644
--- a/.build.yml
+++ b/.build.yml
@@ -272,11 +272,11 @@ build_scripts:
-
- if [ -e ./CMakeLists.txt ]; then
- if [ ${DISTRO_NAME} == "debian" ]; then
- - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DENABLE_LOMIRI_FEATURES=ON
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON -DENABLE_LOMIRI_FEATURES=ON
- elif [ ${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