summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-10 18:21:03 +0200
committerraveit65 <[email protected]>2020-04-10 18:49:17 +0200
commit5dc32f5831fd5d9af99730db995c86a4d270cf50 (patch)
treea2ccf102f55f495205883e5ec23985887366dbca
parentdab952f58b475eb02400610e9a51a73a8f854e0c (diff)
downloadmate-netbook-5dc32f5831fd5d9af99730db995c86a4d270cf50.tar.bz2
mate-netbook-5dc32f5831fd5d9af99730db995c86a4d270cf50.tar.xz
ci: build with mate-common-1.24.1 tarball
-rw-r--r--.build.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index aa69ff3..b1c61f4 100644
--- a/.build.yml
+++ b/.build.yml
@@ -4,6 +4,7 @@
requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-netbook
+ - autoconf-archive
- clang
- gcc
- git
@@ -18,6 +19,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-netbook
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -35,6 +37,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-netbook.git
+ - autoconf-archive
- clang
- clang-analyzer
- gcc
@@ -49,6 +52,7 @@ requires:
- redhat-rpm-config
ubuntu:
+ - autoconf-archive
- autopoint
- clang
- clang-tools
@@ -82,6 +86,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