summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-11 11:56:26 +0200
committerraveit65 <[email protected]>2020-04-11 12:12:36 +0200
commit783b2b7fc8fb8cadd01057394d1a7fecd372bce5 (patch)
treed697f42a7a7fc816e4883a95e5766de8824b42b1
parenta38ea033ef578bae3fa9becbf59aa3a05ca7b89d (diff)
downloadmate-session-manager-783b2b7fc8fb8cadd01057394d1a7fecd372bce5.tar.bz2
mate-session-manager-783b2b7fc8fb8cadd01057394d1a7fecd372bce5.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 c3ef681..1079e94 100644
--- a/.build.yml
+++ b/.build.yml
@@ -23,6 +23,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-session-manager
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -52,6 +53,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-session-manager.git
+ - autoconf-archive
- clang
- clang-analyzer
- dbus-glib-devel
@@ -71,6 +73,7 @@ requires:
- xorg-x11-xtrans-devel
ubuntu:
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -115,6 +118,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