summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2021-09-15 19:28:21 +0200
committerraveit65 <[email protected]>2021-09-15 19:28:21 +0200
commit9ac3ae5add0f38a760bee9067d811045524c5482 (patch)
tree80b55e6a853c64ada98b1aa1db4ad6ad19129cb4 /.build.yml
parentc01d577e636d24a6dad5889707573b3570555680 (diff)
downloadmate-sensors-applet-9ac3ae5add0f38a760bee9067d811045524c5482.tar.bz2
mate-sensors-applet-9ac3ae5add0f38a760bee9067d811045524c5482.tar.xz
branch 1.26
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml20
1 files changed, 4 insertions, 16 deletions
diff --git a/.build.yml b/.build.yml
index 80967ee..d230fd7 100644
--- a/.build.yml
+++ b/.build.yml
@@ -46,7 +46,6 @@ requires:
- autoconf-archive
- clang
- clang-analyzer
- - cppcheck-htmlreport
- gcc
- git
- gtk3-devel
@@ -98,18 +97,9 @@ 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
+ - 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
@@ -118,13 +108,11 @@ build_scripts:
- 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: