summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2021-09-13 16:35:55 +0200
committerraveit65 <[email protected]>2021-09-13 16:35:55 +0200
commit9f06e37abc1cd564d733bfe22c60714b83d58a16 (patch)
treec009ab7e94b940fce5c43e72168df28ccec252cb /.build.yml
parent4f129f5a6b684d7d33d9091d092a93f61b7b5a24 (diff)
downloadmate-menus-9f06e37abc1cd564d733bfe22c60714b83d58a16.tar.bz2
mate-menus-9f06e37abc1cd564d733bfe22c60714b83d58a16.tar.xz
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml26
1 files changed, 5 insertions, 21 deletions
diff --git a/.build.yml b/.build.yml
index 7e327be..baf5853 100644
--- a/.build.yml
+++ b/.build.yml
@@ -35,14 +35,13 @@ requires:
- autoconf-archive
- clang
- clang-analyzer
- - cppcheck-htmlreport
- chrpath
- gcc
- git
- gobject-introspection-devel
- make
- mate-common
- - python2-devel
+ - python-devel
- redhat-rpm-config
ubuntu:
@@ -77,33 +76,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 -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
- - 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 -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
+ - fi
after_scripts:
- - if [ ${DISTRO_NAME} == "fedora" ];then
- - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
- - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport
- - ./gen-index -l 20
- - fi
- make distcheck
releases: