mirror of https://github.com/xqemu/xqemu.git
ci: Fix compiling with macOS on travis-ci
This commit is contained in:
parent
8d05bc917e
commit
787012e012
13
.travis.yml
13
.travis.yml
|
@ -7,7 +7,7 @@ os:
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.6"
|
- "3.7"
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
|
@ -42,14 +42,17 @@ addons:
|
||||||
- uuid-dev
|
- uuid-dev
|
||||||
- libsdl2-dev
|
- libsdl2-dev
|
||||||
- libepoxy-dev
|
- libepoxy-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- glib
|
||||||
|
- pixman
|
||||||
|
- sdl2
|
||||||
|
- libepoxy
|
||||||
|
|
||||||
|
|
||||||
git:
|
git:
|
||||||
# we want to do this ourselves
|
# we want to do this ourselves
|
||||||
submodules: false
|
submodules: false
|
||||||
|
|
||||||
before_install:
|
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
|
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman pkg-config autoconf pixman sdl2 libepoxy; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
|
|
Loading…
Reference in New Issue