summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2020-08-06 18:40:02 +0200
committerColomban Wendling <[email protected]>2020-08-06 18:44:22 +0200
commitd4e64fb49a5dc5add80e88aab905d122999656fd (patch)
tree4252c8b3e85f2c6bed798ce890d2589ff1a48459
parentfd15ff068a65786e251a31bde273252e0ec9a3eb (diff)
downloadmate-control-center-d4e64fb49a5dc5add80e88aab905d122999656fd.tar.bz2
mate-control-center-d4e64fb49a5dc5add80e88aab905d122999656fd.tar.xz
.build.yml: Use the proper mate-desktop version when running cppcheck
-rw-r--r--.build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 3ba0a1ab..c7f3c8c6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -159,6 +159,7 @@ variables:
-enable-checker alpha.unix.cstring.OutOfBounds
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+ - MATE_DESKTOP_VERSION=1.25.0
before_scripts:
- cd ${START_DIR}
@@ -174,7 +175,6 @@ before_scripts:
- make install
- cd ${START_DIR}
- - MATE_DESKTOP_VERSION=1.25.0
- if [ ! -f mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz ];then
- curl -Ls -o mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz https://github.com/mate-desktop/mate-desktop/releases/download/v${MATE_DESKTOP_VERSION}/mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz
- fi
@@ -198,7 +198,7 @@ before_scripts:
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' .
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i"mate-desktop-${MATE_DESKTOP_VERSION}" .
- fi
- NOCONFIGURE=1 ./autogen.sh
@@ -211,7 +211,7 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' .
+ - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i"mate-desktop-${MATE_DESKTOP_VERSION}" .
- 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/categories/preferences-desktop.png
- fi