From 15d213dbd0b67cc4e7ce238297045f7b8b1fa04b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 2 May 2021 20:40:26 +0200 Subject: Travis CI: Obtain libayatana-common from upstream Git (not from distro archives). The libayatana-common shared library is too new to be available in the distros we run CI builds against and also possibly contains features in Git we need for testing which haven't see a release, yet. --- .build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index 647d9b0..291fbe1 100644 --- a/.build.yml +++ b/.build.yml @@ -96,6 +96,16 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' +before_scripts: + - cd ${START_DIR} + - if [ ! -d libayatana-common-build ]; then + - git clone --depth 1 https://github.com/AyatanaIndicators/libayatana-common.git libayatana-common-build + - fi + - cd libayatana-common-build + - cmake . -DCMAKE_INSTALL_PREFIX=/usr + - make + - make install + build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then - export CFLAGS+=" -Wsign-compare -Wunused-parameter" -- cgit v1.2.3