summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-06 18:28:46 +0200
committerraveit65 <[email protected]>2020-04-06 18:28:46 +0200
commit22ec832f0b46309e7e0c6fda967497c4ff4d4085 (patch)
tree6338c56e31028b731839db7576bd8cedb370775d /.build.yml
parentd168a8321e66683425a4304f227e7ad5abec461d (diff)
downloadlibmatemixer-22ec832f0b46309e7e0c6fda967497c4ff4d4085.tar.bz2
libmatemixer-22ec832f0b46309e7e0c6fda967497c4ff4d4085.tar.xz
ci: build with mate-common-1.24.1 tarball
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml33
1 files changed, 14 insertions, 19 deletions
diff --git a/.build.yml b/.build.yml
index 2df27b3..aa7d494 100644
--- a/.build.yml
+++ b/.build.yml
@@ -76,6 +76,20 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ # Install mate-common fron tarball
+ - 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 --enable-compile-warnings=maximum
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
@@ -88,25 +102,6 @@ build_scripts:
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
-before_scripts:
- # Debian - patch intltool-update
- - if [ ${DISTRO_NAME} == "debian" ];then
- - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
- - bash ./debian.sh
- - fi
- # Install mate-common fron tarball
- - cd ${START_DIR}
- - '[ -f mate-common-1.23.3.tar.xz ] || curl -Ls -o mate-common-1.23.3.tar.xz http://pub.mate-desktop.org/releases/1.23/mate-common-1.23.3.tar.xz'
- - tar xf mate-common-1.23.3.tar.xz
- - cd mate-common-1.23.3
- - 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
-
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude .