summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-11 16:33:49 +0200
committerraveit65 <[email protected]>2020-04-11 16:33:49 +0200
commit063fba4e4fa55802a54452d8e85b98c837dfffc9 (patch)
tree021f1ae0150eb187daa749c1f90306aa6b4c5a33
parent1563436e17a1c53bc428414799db66718df3246f (diff)
downloadpython-caja-063fba4e4fa55802a54452d8e85b98c837dfffc9.tar.bz2
python-caja-063fba4e4fa55802a54452d8e85b98c837dfffc9.tar.xz
ci: build with mate-common-1.24.1 tarball
-rw-r--r--.build.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 84c34a0..236fd44 100644
--- a/.build.yml
+++ b/.build.yml
@@ -17,6 +17,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/python-caja
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -34,6 +35,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/python-caja.git
+ - autoconf-archive
- caja-devel
- clang
- clang-analyzer
@@ -47,6 +49,7 @@ requires:
- redhat-rpm-config
ubuntu:
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -78,6 +81,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