travis: use Mac OS 10.14 and Xcode 10.2.1
The default Mac OS environment on travis no longer has brew bottle support, so jobs time out. Add the `osx_image` key to specify Mac OS 10.14 and Xcode 10.2.1. Also try to re-enable link support using SFML. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
b0ec84693e
commit
3490620e0f
|
@ -66,12 +66,13 @@ matrix:
|
||||||
- env: BUILD_ENV=mac
|
- env: BUILD_ENV=mac
|
||||||
language: cpp
|
language: cpp
|
||||||
os: osx
|
os: osx
|
||||||
|
osx_image: xcode10.2
|
||||||
before_script:
|
before_script:
|
||||||
- ./installdeps
|
- ./installdeps
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON -DENABLE_LINK=OFF
|
- cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON -DENABLE_LINK=ON
|
||||||
- make -j2
|
- make -j2
|
||||||
- ./visualboyadvance-m.app/Contents/MacOS/visualboyadvance-m --help
|
- ./visualboyadvance-m.app/Contents/MacOS/visualboyadvance-m --help
|
||||||
cache:
|
cache:
|
||||||
|
|
|
@ -1054,9 +1054,9 @@ brew_installdeps() {
|
||||||
brews="nasm cmake ccache ffmpeg gettext libpng pkg-config sdl2 wxmac ccache"
|
brews="nasm cmake ccache ffmpeg gettext libpng pkg-config sdl2 wxmac ccache"
|
||||||
|
|
||||||
# sfml brew currently broken in the travis mac environment
|
# sfml brew currently broken in the travis mac environment
|
||||||
if [ -z "$TRAVIS" ]; then
|
# if [ -z "$TRAVIS" ]; then
|
||||||
brews="$brews sfml"
|
brews="$brews sfml"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
set --
|
set --
|
||||||
for f in $brews; do
|
for f in $brews; do
|
||||||
|
|
Loading…
Reference in New Issue