diff options
author | raveit65 <[email protected]> | 2021-09-15 17:49:14 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-15 17:49:14 +0200 |
commit | 42fa5cd70c0294a46f13868db9060198c170fa51 (patch) | |
tree | 4e914fac9391df7f1f4ea2fff76f61d8d38e65a5 /.build.yml | |
parent | 170d1847147861399e42e2a4f32064a6610be751 (diff) | |
download | mate-screensaver-42fa5cd70c0294a46f13868db9060198c170fa51.tar.bz2 mate-screensaver-42fa5cd70c0294a46f13868db9060198c170fa51.tar.xz |
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -57,7 +57,6 @@ requires: - autoconf-archive - clang - clang-analyzer - - cppcheck-htmlreport - dbus-glib-devel - desktop-file-utils - gcc @@ -133,33 +132,18 @@ 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 - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - 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: |