From a300ef3b4371234ce8a45e46be96d16fcb9b5f36 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 26 Oct 2021 11:27:51 +0200 Subject: .build.yml. Skip cppcheck run for the bluetooth indicator, only Vala code in here. --- .build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index f92d0d6..9130aec 100644 --- a/.build.yml +++ b/.build.yml @@ -99,11 +99,12 @@ before_scripts: - make install build_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi - - +# No C/C++ code in this project (only Vala). So skip cppcheck run. +# - 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 -- cgit v1.2.3