From d8decdc4ec9f380e157196bd19bd9a1d9f0e2d59 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 13 Sep 2021 08:07:46 +0200 Subject: branch 1.26 --- .build.yml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index e7a27cb..d342215 100644 --- a/.build.yml +++ b/.build.yml @@ -40,7 +40,6 @@ requires: - autoconf-archive - clang - clang-analyzer - - cppcheck-htmlreport - gcc - git - gtk3-devel @@ -87,37 +86,22 @@ variables: before_scripts: build_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi - - NOCONFIGURE=1 ./autogen.sh - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum --with-ayatana-indicators=yes + - scan-build $CHECKERS ./configure --with-ayatana-indicators=yes - else - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum + - scan-build $CHECKERS ./configure - fi - if [ $CPU_COUNT -gt 1 ]; then - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - else - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - fi after_scripts: - - if [ ${DISTRO_NAME} == "fedora" ];then - - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude . - - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport - - ./gen-index -l 20 - - fi - make distcheck releases: -- cgit v1.2.1