summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-06 17:59:22 +0200
committerraveit65 <[email protected]>2020-04-06 18:37:47 +0200
commitc7e48a28ee93ba2ff59acd68c02df130870fe086 (patch)
tree5960b0e125b8e3ac205905b85345508de206a39d
parentccccb8cb3f2ab85de0690093f5fd60770e727b43 (diff)
downloadlibmatekbd-c7e48a28ee93ba2ff59acd68c02df130870fe086.tar.bz2
libmatekbd-c7e48a28ee93ba2ff59acd68c02df130870fe086.tar.xz
ci: build with mate-common-1.24.1 tarball
-rw-r--r--.build.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.build.yml b/.build.yml
index 72ea96f..b9b094c 100644
--- a/.build.yml
+++ b/.build.yml
@@ -34,6 +34,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/libmatekbd.git
+ - autoconf-archive
- clang-analyzer
- clang
- cppcheck-htmlreport
@@ -88,13 +89,19 @@ before_scripts:
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
- bash ./debian.sh
- fi
+ - 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:
-# build failed with f30 und using clang patch, fixed in f30?
-# - if [ ${DISTRO_NAME} == "fedora" ];then
-# - curl -Ls -o fedora.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/fedora.sh
-# - bash ./fedora.sh
-# - fi
- ./autogen.sh
- scan-build $CHECKERS ./configure
- if [ $CPU_COUNT -gt 1 ]; then