From 2f5fca971ec864d77690ca575e8ad76d6a1d5584 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 4 Apr 2020 19:21:24 +0200 Subject: ci: update mate-compile-warning level for stable branches --- .build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.build.yml b/.build.yml index 072af50..c65ff42 100644 --- a/.build.yml +++ b/.build.yml @@ -90,18 +90,6 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' -build_scripts: - - ./autogen.sh --enable-compile-warnings=maximum - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - - if [ $CPU_COUNT -gt 1 ]; then - - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 )) - - else - - scan-build $CHECKERS --keep-cc -o html-report make - - fi - - if [ ${DISTRO_NAME} == "debian" ];then - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi - before_scripts: - cd ${START_DIR} - '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz' @@ -115,6 +103,18 @@ before_scripts: - make - make install +build_scripts: + - ./autogen.sh + - scan-build $CHECKERS ./configure + - if [ $CPU_COUNT -gt 1 ]; then + - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 )) + - else + - 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: - make distcheck -- cgit v1.2.1