mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-09 09:11:02 +00:00
Fix Travis CI (#376)
* fix build on macOSx with gcc7 * use gold linker for debug build * add gcc8 build
This commit is contained in:
parent
2bff09b420
commit
bad3102251
1 changed files with 17 additions and 2 deletions
19
.travis.yml
19
.travis.yml
|
@ -82,7 +82,7 @@ matrix:
|
|||
- ladspa-sdk
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
|
||||
- CMAKE_FLAGS="-Denable-debug=1"
|
||||
- CMAKE_FLAGS="-Denable-debug=1 -DCMAKE_C_FLAGS_DEBUG=-fuse-ld=gold"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
|
@ -114,6 +114,21 @@ matrix:
|
|||
env:
|
||||
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-8
|
||||
- cmake-data
|
||||
- cmake
|
||||
- libglib2.0-0
|
||||
- ladspa-sdk
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
||||
|
||||
# works on Precise and Trusty
|
||||
- os: linux
|
||||
addons:
|
||||
|
@ -188,7 +203,7 @@ matrix:
|
|||
- os: osx
|
||||
osx_image: xcode8
|
||||
env:
|
||||
- MATRIX_EVAL="brew install gcc glib gettext libsndfile jack dbus-glib pulseaudio portaudio && brew link gettext && CC=gcc-7 && CXX=g++-7"
|
||||
- MATRIX_EVAL="brew install gcc glib gettext libsndfile jack dbus-glib pulseaudio portaudio && brew link gettext && CC=gcc-8 && CXX=g++-8"
|
||||
|
||||
before_install:
|
||||
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; else brew update; fi
|
||||
|
|
Loading…
Reference in a new issue