summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 17897d9..eb55d51 100644
--- a/.build.yml
+++ b/.build.yml
@@ -152,6 +152,7 @@ before_scripts:
- fi
- make
- make install
+
- cd ${START_DIR}
- '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz'
- tar xf mate-common-1.24.1.tar.xz
@@ -165,6 +166,11 @@ before_scripts:
- make install
build_scripts:
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' .
+ - fi
+
- ./autogen.sh
- scan-build $CHECKERS ./configure --prefix=/usr --enable-pulse --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
@@ -172,9 +178,6 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
- - if [ ${DISTRO_NAME} == "debian" ];then
- - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' .
- - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then