mirror of
https://github.com/libretro/libretro-super
synced 2025-02-27 03:39:56 +00:00
travis: add Metal RA build
This commit is contained in:
parent
abb59b79b5
commit
7ec3a485d6
@ -819,7 +819,11 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then
|
||||
|
||||
cd pkg/apple
|
||||
|
||||
xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
|
||||
if [ "${METAL}" == "1" ]; then
|
||||
xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
|
||||
else
|
||||
xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE"
|
||||
fi
|
||||
|
||||
RET=$?
|
||||
buildbot_handle_message "$RET" "$ENTRY_ID" "retroarch" "$jobid" "$LOGFILE"
|
||||
|
17
travis/build-retroarch-metal.sh
Executable file
17
travis/build-retroarch-metal.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LOGDATE=`date +%Y-%m-%d`
|
||||
mkdir -p /tmp/log/${LOGDATE}
|
||||
export BOT=.
|
||||
export TMPDIR=/tmp
|
||||
export TRAVIS=1
|
||||
export EXIT_ON_ERROR=1
|
||||
|
||||
RECIPE=recipes/apple/retroarch-osx-x64
|
||||
|
||||
cd ~/libretro-super
|
||||
|
||||
rm -fr retroarch
|
||||
mv ${TRAVIS_BUILD_DIR} retroarch
|
||||
|
||||
FORCE=YES SINGLE_CORE=retroarch METAL=1 ./libretro-buildbot-recipe.sh "${RECIPE}"
|
Loading…
x
Reference in New Issue
Block a user