diff options
author | raveit65 <[email protected]> | 2020-04-11 10:28:16 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-11 10:28:16 +0200 |
commit | 0ff7b027061bb8eea98cff25899677301c41920e (patch) | |
tree | 5787fa2b29b09722b7126c8bb2d46fc5a9d3bb1c | |
parent | 4785fefc7ef91e95f48717fb1b6677ef527704d4 (diff) | |
download | mate-sensors-applet-0ff7b027061bb8eea98cff25899677301c41920e.tar.bz2 mate-sensors-applet-0ff7b027061bb8eea98cff25899677301c41920e.tar.xz |
ci: build with mate-common-1.24.1 tarball
-rw-r--r-- | .build.yml | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -21,6 +21,7 @@ requires: debian: # Useful URL: https://github.com/mate-desktop/debian-packages # Useful URL: https://salsa.debian.org/debian-mate-team/mate-sensors-applet + - autoconf-archive - autopoint - clang - clang-tools @@ -42,6 +43,7 @@ requires: fedora: # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-sensors-applet.git + - autoconf-archive - clang - clang-analyzer - cppcheck-htmlreport @@ -57,6 +59,7 @@ requires: - redhat-rpm-config ubuntu: + - autoconf-archive - autopoint - clang - clang-tools @@ -75,7 +78,6 @@ requires: - yelp-tools variables: - - CFLAGS="-Wall -Werror=format-security -Wredundant-decls" - 'CHECKERS=" -enable-checker deadcode.DeadStores -enable-checker alpha.deadcode.UnreachableCode @@ -93,6 +95,19 @@ 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 - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum |