diff options
author | raveit65 <[email protected]> | 2020-04-09 13:27:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-09 13:27:54 +0200 |
commit | b2c5c213be967c3add8db143e089689ca9b4a835 (patch) | |
tree | 858c7cdd7a104207f203c58dc9df986edcc55712 | |
parent | daf0c7687625d014145381450d9c4dfe772c17e1 (diff) | |
download | mate-media-b2c5c213be967c3add8db143e089689ca9b4a835.tar.bz2 mate-media-b2c5c213be967c3add8db143e089689ca9b4a835.tar.xz |
ci: build with mate-common-1.24.1 tarball
-rw-r--r-- | .build.yml | 34 |
1 files changed, 14 insertions, 20 deletions
@@ -91,8 +91,21 @@ 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 --enable-compile-warnings=maximum + - ./autogen.sh - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT @@ -103,25 +116,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 . |