mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
travis: Enable macOS builds
This commit is contained in:
parent
5e2fc0f41c
commit
16eb406e36
@ -71,6 +71,11 @@ travis_install() {
|
||||
download_extract_zip http://dl.google.com/android/repository/${NDK_VER}-linux-x86_64.zip ${NDK_VER}-linux-x86_64.zip
|
||||
fi
|
||||
|
||||
if [ "$PPSSPP_BUILD_TYPE" = "macOS" ]; then
|
||||
brew update
|
||||
brew install sdl2
|
||||
fi
|
||||
|
||||
# Ensure we're using ccache
|
||||
if [[ "$CXX" = "clang" && "$CC" == "clang" ]]; then
|
||||
export CXX="ccache clang" CC="ccache clang"
|
||||
@ -113,6 +118,9 @@ travis_script() {
|
||||
if [ "$PPSSPP_BUILD_TYPE" = "iOS" ]; then
|
||||
./b.sh --ios
|
||||
fi
|
||||
if [ "$PPSSPP_BUILD_TYPE" = "macOS" ]; then
|
||||
./b.sh --headless
|
||||
fi
|
||||
}
|
||||
|
||||
travis_after_success() {
|
||||
|
@ -66,6 +66,11 @@ matrix:
|
||||
compiler: "gcc qt"
|
||||
env: PPSSPP_BUILD_TYPE=Linux
|
||||
QT=TRUE
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
compiler: "clang macos"
|
||||
env: PPSSPP_BUILD_TYPE=macOS
|
||||
CMAKE=TRUE
|
||||
- os: osx
|
||||
osx_image: xcode8
|
||||
compiler: "clang ios"
|
||||
|
Loading…
Reference in New Issue
Block a user