Build and upload PSP binary archive.

This commit is contained in:
xawotihs
2013-12-06 20:40:02 +01:00
parent b851103711
commit 3bc9c93bab
2 changed files with 12 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ cd ..
cd projects/mtg
mkdir objs
make -j 8
mkdir psprelease
mv EBOOT.PBP psprelease/
mv wagic.elf psprelease/
mv wagic.prx psprelease/
zip psprelease.zip -r psprelease/
cd ../..
# we're building an Android binary here

View File

@@ -11,6 +11,13 @@ if [ "$TRAVIS_BRANCH" == "ci_upload_binaries" ]; then
--data-binary @projects/mtg/Android/bin/Wagic-debug.apk \
"https://uploads.github.com/repos/WagicProject/wagic/releases/113675/assets?name=Wagic-android-${TRAVIS_BUILD_NUMBER}.apk"
echo -e "Uploading PSP package\n"
curl -X POST -H "Authorization: token ${GH_TOKEN}" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/zip" \
--data-binary @projects/mtg/psprelease.zip \
"https://uploads.github.com/repos/WagicProject/wagic/releases/113675/assets?name=Wagic-psp-${TRAVIS_BUILD_NUMBER}.zip"
echo -e "Done uploading\n"
fi
fi