From d312390c50e2eb42551e6bc581db7bfc17bc9d27 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 10 Apr 2020 00:23:21 +0200 Subject: ci: build with mate-common-1.24.1 tarball --- .build.yml | 19 ++++++++++++++----- 1 file 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 -- cgit v1.2.1