aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarcel Metz <[email protected]>2017-03-05 17:23:31 +0100
committerMarcel Metz <[email protected]>2017-03-06 10:26:03 +0100
commita2d0bf8d3ab24fc9e1456dc48f975d404e122869 (patch)
treea7e1946b4702454a392fa8559256424d05721355 /.travis.yml
parent1d208c49b51a25f617026b7444f03f1cd4599ee6 (diff)
Configure CMake to require available backends on CI services
Configure CMake to require the installed backend libraries. This should help to find build system regressions. On TravisCI with Linux this requires the ALSA, PulseAudio, PortAudio, OSS and JACK backend. On TravisCI with Android cross compile Linux this requires the OpenSL backend. On TravisCI with MacOSX this requires the CoreAudio backend. ON AppVeyor with Windows this requires the WinMM, DSound and MMDevAPI backend.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index bc8e6fbc..4483a9ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,16 +31,25 @@ install:
script:
- >
if [[ "${TRAVIS_OS_NAME}" == "linux" && -z "${BUILD_ANDROID}" ]]; then
- cmake .
+ cmake \
+ -DALSOFT_REQUIRE_ALSA=ON \
+ -DALSOFT_REQUIRE_OSS=ON \
+ -DALSOFT_REQUIRE_PORTAUDIO=ON \
+ -DALSOFT_REQUIRE_PULSEAUDIO=ON \
+ -DALSOFT_REQUIRE_JACK=ON \
+ .
fi
- >
if [[ "${TRAVIS_OS_NAME}" == "linux" && "${BUILD_ANDROID}" == "true" ]]; then
cmake \
-DCMAKE_TOOLCHAIN_FILE=~/android-ndk-r14/build/cmake/android.toolchain.cmake \
+ -DALSOFT_REQUIRE_OPENSL=ON \
.
fi
- >
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
- cmake .
+ cmake \
+ -DALSOFT_REQUIRE_COREAUDIO=ON \
+ .
fi
- make -j2