diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-12-14 21:50:12 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-12-14 21:50:12 +0100 |
commit | 2d445b6517890a826e10ec2f29c32728c395fd2a (patch) | |
tree | 93af2806e379cb0805813b56f40f18c9003519e5 /.build.yml | |
parent | f61623a582aaa31ad02d72c5aebab6af3408fc38 (diff) | |
parent | 7c4c023ace4cd1b94c4fb0b6d8a8c060f10df752 (diff) | |
download | libayatana-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.yml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |