diff options
author | raveit65 <[email protected]> | 2021-09-11 13:25:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-11 13:25:39 +0200 |
commit | 76948c2d53c11952717c7dd8fc9672294c86b4fa (patch) | |
tree | a10d8ffad978e1a9a19e76faeac201ee1121658e /.build.yml | |
parent | 1c6c9fc80ab2117b2dba4350e33b0eaa0d5f9f51 (diff) | |
download | mate-desktop-76948c2d53c11952717c7dd8fc9672294c86b4fa.tar.bz2 mate-desktop-76948c2d53c11952717c7dd8fc9672294c86b4fa.tar.xz |
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 26 |
1 files changed, 4 insertions, 22 deletions
@@ -107,37 +107,19 @@ 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 --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum + - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc - 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 [ ${BUILD_TYPE} == "scripts" ];then - - 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}/${REPO_NAME}/raw/master/icons/16x16/apps/mate-desktop.png - - fi - - if [ ${DISTRO_NAME} == "debian" ];then - - make check - - fi - make distcheck - fi |