summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 640f4b9..2c0c6e9 100644
--- a/.build.yml
+++ b/.build.yml
@@ -18,6 +18,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-polkit
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -33,6 +34,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-polkit.git
+ - autoconf-archive
- clang
- clang-analyzer
- cppcheck-htmlreport
@@ -46,6 +48,7 @@ requires:
- redhat-rpm-config
ubuntu:
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -76,6 +79,19 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ - 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
+ - cd mate-common-1.24.1
+ - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
+ - ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+ - else
+ - ./configure --prefix=/usr
+ - fi
+ - make
+ - make install
+
build_scripts:
- ./autogen.sh
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum