summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-10 00:23:21 +0200
committerraveit65 <[email protected]>2020-04-10 00:28:42 +0200
commitd312390c50e2eb42551e6bc581db7bfc17bc9d27 (patch)
tree431bc658fa4d0e061cc9582a8708710b71e6d3f8
parent57fef455617ae959f673534b3b47241059d997cc (diff)
downloadmate-menus-d312390c50e2eb42551e6bc581db7bfc17bc9d27.tar.bz2
mate-menus-d312390c50e2eb42551e6bc581db7bfc17bc9d27.tar.xz
ci: build with mate-common-1.24.1 tarball
-rw-r--r--.build.yml19
1 files changed, 14 insertions, 5 deletions
diff --git a/.build.yml b/.build.yml
index 47b3ca7..bd008ed 100644
--- a/.build.yml
+++ b/.build.yml
@@ -32,6 +32,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-menus.git
+ - autoconf-archive
- clang
- clang-analyzer
- cppcheck-htmlreport
@@ -74,12 +75,20 @@ 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:
-# 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