aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-02 20:40:26 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-02 20:53:22 +0200
commit15d213dbd0b67cc4e7ce238297045f7b8b1fa04b (patch)
tree46c8b2f27c864aab39f54c6735a7e69453e560dc /.build.yml
parent4b8dc2935dd2d2bac497ea1c024a2b39fa0d671c (diff)
downloadayatana-indicator-session-15d213dbd0b67cc4e7ce238297045f7b8b1fa04b.tar.gz
ayatana-indicator-session-15d213dbd0b67cc4e7ce238297045f7b8b1fa04b.tar.bz2
ayatana-indicator-session-15d213dbd0b67cc4e7ce238297045f7b8b1fa04b.zip
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.
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml10
1 files changed, 10 insertions, 0 deletions
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"