mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-07-05 18:17:52 -05:00
Travis: Added OSX, use default compilers, moved cmds into own scripts
This commit is contained in:
14
.travis-build.sh
Normal file
14
.travis-build.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
#if OS is linux or is not set
|
||||
if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make -j4
|
||||
elif [ "$TRAVIS_OS_NAME" = osx ]; then
|
||||
mkdir build && cd build
|
||||
cmake .. -GXcode
|
||||
xcodebuild
|
||||
fi
|
Reference in New Issue
Block a user