mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
travis: deploy OSX Metal build
This commit is contained in:
parent
c57e259fa7
commit
b2c704862a
@ -38,6 +38,12 @@ matrix:
|
||||
osx_image: xcode9.3
|
||||
script:
|
||||
- xcodebuild -target RetroArch -configuration Release -project pkg/apple/RetroArch_Metal.xcodeproj
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
provider: script
|
||||
script: bash travis_metal_deploy.sh
|
||||
on:
|
||||
branch: master
|
||||
|
||||
script:
|
||||
- ./configure
|
||||
|
BIN
travis-deploy-key.enc
Normal file
BIN
travis-deploy-key.enc
Normal file
Binary file not shown.
23
travis_metal_deploy.sh
Normal file
23
travis_metal_deploy.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
|
||||
chmod 700 ~/.ssh
|
||||
|
||||
echo "Decrypting SSH key..."
|
||||
|
||||
openssl aes-256-cbc -K $encrypted_e9bb4da59666_key -iv $encrypted_e9bb4da59666_iv -in travis-deploy-key.enc -out ~/.ssh/id_rsa -d
|
||||
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
|
||||
echo "Creating DMG image..."
|
||||
|
||||
cd ${TRAVIS_BUILD_DIR}/pkg/apple/build/Release
|
||||
|
||||
FILENAME=$(date +%F)_RetroArch_Metal.dmg
|
||||
|
||||
hdiutil create -volname RetroArch -srcfolder ./ -ov -format UDZO ${FILENAME}
|
||||
|
||||
echo "Uploading to server..."
|
||||
|
||||
rsync -avhP -e 'ssh -p 12346 -o StrictHostKeyChecking=no' ${FILENAME} travis@bot.libretro.com:~/nightly/apple/osx/x86_64/
|
Loading…
Reference in New Issue
Block a user