diff options
author | raveit65 <[email protected]> | 2021-09-11 21:58:42 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-11 21:58:42 +0200 |
commit | ff04e70f7f416f1b0b8595d8c2a6d36a51211f2e (patch) | |
tree | 46d631e4b8855e542ad510b057b0ae4107894fa6 /.build.yml | |
parent | 845ef8291ed7b5af808192a91bdee10b67011864 (diff) | |
download | marco-ff04e70f7f416f1b0b8595d8c2a6d36a51211f2e.tar.bz2 marco-ff04e70f7f416f1b0b8595d8c2a6d36a51211f2e.tar.xz |
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -64,7 +64,6 @@ requires: - autoconf-archive - clang-analyzer - clang - - cppcheck-htmlreport - desktop-file-utils - gcc - git @@ -139,33 +138,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 --force -D'PACKAGE' -D'WITH_VERBOSE_MODE' . - - fi - - NOCONFIGURE=1 ./autogen.sh - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum + - scan-build $CHECKERS ./configure - 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 --force -D'PACKAGE' -D'WITH_VERBOSE_MODE' . + - fi after_scripts: - - if [ ${DISTRO_NAME} == "fedora" ];then - - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude --force -D'PACKAGE' -D'WITH_VERBOSE_MODE' . - - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport - - ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/preferences-system-windows.png - - fi - make distcheck releases: |