diff options
author | raveit65 <[email protected]> | 2021-09-15 21:38:21 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-15 21:38:21 +0200 |
commit | d03d82e877970604268195b7ca9628d810dd3fc5 (patch) | |
tree | 0cbafeb7d42801339254e99c83c70bfd96b9d8a5 /.build.yml | |
parent | e242eaad7cb679b4e850f40f0c881cb8868f9121 (diff) | |
download | mate-system-monitor-d03d82e877970604268195b7ca9628d810dd3fc5.tar.bz2 mate-system-monitor-d03d82e877970604268195b7ca9628d810dd3fc5.tar.xz |
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 29 |
1 files changed, 4 insertions, 25 deletions
@@ -48,7 +48,6 @@ requires: - autoconf-archive - clang - clang-analyzer - - cppcheck-htmlreport - gcc - gcc-c++ - dbus-glib-devel @@ -107,40 +106,20 @@ variables: -enable-checker security.insecureAPI.strcpy"' before_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh - - bash ./debian.sh - - fi build_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - - export CXXFLAGS+=" -Wsign-compare -Wunused" - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi - - NOCONFIGURE=1 ./autogen.sh - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum --enable-cxx-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 . + - 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 -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/utilities-system-monitor.png - - fi - make distcheck releases: |