mpd/.travis.yml

118 lines
2.8 KiB
YAML
Raw Normal View History

2017-04-27 19:43:05 +02:00
language: cpp
jobs:
2018-02-16 23:21:14 +01:00
include:
# Ubuntu Focal (20.04) with GCC 9.3
2019-12-23 17:58:08 +01:00
- os: linux
dist: focal
2019-12-23 17:58:08 +01:00
addons:
apt:
packages:
- meson
2019-12-23 17:58:08 +01:00
- libgtest-dev
- libboost-dev
2021-05-19 18:58:18 +02:00
- libfmt-dev
# Ubuntu Focal (20.04) with GCC 9.3 on big-endian
- os: linux
arch: s390x
dist: focal
addons:
apt:
packages:
- meson
- libgtest-dev
- libboost-dev
2021-05-19 18:58:18 +02:00
- libfmt-dev
# Ubuntu Focal (20.04) with GCC 9.3 on ARM64
- os: linux
arch: arm64
dist: focal
addons:
apt:
packages:
- meson
- libgtest-dev
- libboost-dev
2021-05-19 18:58:18 +02:00
- libfmt-dev
2019-12-23 17:58:08 +01:00
# Ubuntu Trusty (16.04) with GCC 8
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:mhier/libboost-latest'
- sourceline: 'ppa:ricotz/toolchain'
- sourceline: 'ppa:deadsnakes/ppa' # for Python 3.7 (required by Meson)
packages:
- g++-8
2018-10-16 19:01:13 +02:00
- libgtest-dev
- boost1.67
- python3.6
- python3-urllib3
- ninja-build
before_install:
- wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env:
# use gold as workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=17068
- MATRIX_EVAL="export CC='ccache gcc-8' CXX='ccache g++-8' LDFLAGS=-fuse-ld=gold PATH=\$HOME/.local/bin:\$PATH"
2018-02-16 23:21:14 +01:00
- os: osx
osx_image: xcode11.6
addons:
homebrew:
packages:
- ccache
- meson
2021-05-19 18:58:18 +02:00
- fmt
- googletest
- icu4c
- ffmpeg
- libnfs
- yajl
- libupnp
- libid3tag
- chromaprint
- libsamplerate
- libsoxr
# libzzip appears to be broken on Homebrew: "ld: library not found for -lzzip"
#- libzzip
- flac
- opus
- libvorbis
- faad2
- wavpack
- libmpdclient
2018-02-16 23:39:16 +01:00
env:
- MATRIX_EVAL="export PATH=/usr/local/opt/ccache/libexec:$PATH HOMEBREW_NO_ANALYTICS=1"
2017-04-27 19:43:05 +02:00
2018-02-16 23:48:56 +01:00
cache:
apt: true
ccache: true
2019-12-23 17:32:19 +01:00
directories:
- $HOME/Library/Caches/Homebrew
before_cache:
- test "$TRAVIS_OS_NAME" != "osx" || brew cleanup
2018-02-16 23:48:56 +01:00
2017-04-27 19:43:05 +02:00
before_install:
2018-02-16 23:39:16 +01:00
- eval "${MATRIX_EVAL}"
2017-04-27 19:43:05 +02:00
install:
2018-02-16 23:48:56 +01:00
before_script:
- ccache -s
2017-04-27 19:43:05 +02:00
script:
- eval "${MATRIX_EVAL}"
- OPTIONS="-Dtest=true"
- meson . output --werror $OPTIONS
- ninja -C output -v test
2018-02-16 23:48:56 +01:00
- ccache -s