aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-14 21:50:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-14 21:50:12 +0100
commit2d445b6517890a826e10ec2f29c32728c395fd2a (patch)
tree93af2806e379cb0805813b56f40f18c9003519e5 /.build.yml
parentf61623a582aaa31ad02d72c5aebab6af3408fc38 (diff)
parent7c4c023ace4cd1b94c4fb0b6d8a8c060f10df752 (diff)
downloadlibayatana-common-2d445b6517890a826e10ec2f29c32728c395fd2a.tar.gz
libayatana-common-2d445b6517890a826e10ec2f29c32728c395fd2a.tar.bz2
libayatana-common-2d445b6517890a826e10ec2f29c32728c395fd2a.zip
Merge branch 'tari01-pr/add-enable-lomiri-features-switch'
Attributes GH PR #52: https://github.com/AyatanaIndicators/libayatana-common/pull/52
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 33f2150..fa6294f 100644
--- a/.build.yml
+++ b/.build.yml
@@ -89,11 +89,13 @@ variables:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- export CFLAGS+=" -Wsign-compare -Wunused-parameter"
- - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+ - cppcheck --enable=warning,style,performance,portability,information --suppress=missingInclude .
- fi
-
- if [ -e ./CMakeLists.txt ]; then
- - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
+ - if [ ${DISTRO_NAME} == "debian" ]; then
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DENABLE_WERROR=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 -DENABLE_WERROR=ON
- else
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON