fluidsynth/.travis.yml

199 lines
4.6 KiB
YAML
Raw Normal View History

2017-08-10 21:11:05 +00:00
language: c
2017-08-11 09:55:53 +00:00
#sudo: required
2017-08-10 21:11:05 +00:00
dist: trusty
2017-08-11 09:25:04 +00:00
env:
- CMAKE_FLAGS="-Denable-profiling=1"
- CMAKE_FLAGS="-Denable-floats=1 -Denable-profiling=1"
- CMAKE_FLAGS="-Denable-trap-on-fpe=1"
- CMAKE_FLAGS="-Denable-fpe-check=1"
2017-08-10 21:11:05 +00:00
matrix:
include:
2017-08-11 09:10:16 +00:00
- os: linux
addons:
apt:
2017-08-11 09:55:53 +00:00
sources:
- ubuntu-toolchain-r-test
2017-08-11 09:10:16 +00:00
packages:
- g++-4.8
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
- libsndfile-dev
- libasound2-dev
- libjack-dev
- portaudio19-dev
- libpulse-dev
- libdbus-glib-1-dev
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-11 09:10:16 +00:00
env:
2017-08-11 09:25:04 +00:00
- MATRIX_EVAL="CC=gcc-4.8 && CXX=g++-4.8"
2017-08-11 09:55:53 +00:00
- CMAKE_FLAGS="-Denable-floats=1"
2017-08-11 09:10:16 +00:00
2017-08-10 21:11:05 +00:00
- os: linux
addons:
apt:
2017-08-11 09:55:53 +00:00
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- cmake-data
- cmake
- libglib2.0-0
- libsndfile-dev
- libasound2-dev
- libjack-dev
- portaudio19-dev
- libpulse-dev
- libdbus-glib-1-dev
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-11 09:55:53 +00:00
env:
- MATRIX_EVAL="CC=gcc-4.8 && CXX=g++-4.8"
- CMAKE_FLAGS="-Denable-floats=0"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2017-08-10 21:11:05 +00:00
packages:
- g++-4.9
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
# works on Precise and Trusty
- os: linux
addons:
apt:
2017-08-11 09:55:53 +00:00
sources:
- ubuntu-toolchain-r-test
2017-08-10 21:11:05 +00:00
packages:
- g++-5
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CMAKE_FLAGS="-Denable-debug=1"
2017-08-10 21:11:05 +00:00
# works on Precise and Trusty
- os: linux
addons:
apt:
2017-08-11 09:55:53 +00:00
sources:
- ubuntu-toolchain-r-test
2017-08-10 21:11:05 +00:00
packages:
- g++-6
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
2017-09-22 18:23:29 +00:00
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-09-22 18:23:29 +00:00
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
2017-08-10 21:11:05 +00:00
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
2017-08-11 09:55:53 +00:00
- ubuntu-toolchain-r-test
2017-08-10 21:11:05 +00:00
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
# works on Trusty
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-3.9
packages:
- clang-3.9
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
# works on Trusty
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
2017-08-11 09:55:53 +00:00
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-08-10 21:11:05 +00:00
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
2017-09-22 18:23:29 +00:00
# works on Trusty
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
- cmake-data
- cmake
- libglib2.0-0
2017-10-20 10:33:25 +00:00
- ladspa-sdk
2017-09-22 18:23:29 +00:00
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- os: osx
osx_image: xcode8
env:
- MATRIX_EVAL="brew install gcc5 glib && CC=gcc-5 && CXX=g++-5"
2017-08-10 21:11:05 +00:00
2017-09-22 18:23:29 +00:00
- os: osx
osx_image: xcode8
env:
- MATRIX_EVAL="brew install gcc6 glib && CC=gcc-6 && CXX=g++-6"
2017-09-22 18:23:29 +00:00
- os: osx
osx_image: xcode8
env:
- MATRIX_EVAL="brew install gcc glib libsndfile jack dbus-glib pulseaudio portaudio && CC=gcc-7 && CXX=g++-7"
2017-08-10 21:11:05 +00:00
before_install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; else brew update; fi
2017-08-10 21:11:05 +00:00
- eval "${MATRIX_EVAL}"
before_script:
- mkdir build && cd build
script:
2017-10-20 10:33:25 +00:00
- cmake ${CMAKE_FLAGS} "-Denable-portaudio=1" "-Denable-ladspa=1" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..
2017-08-10 21:11:05 +00:00
- make -j4