yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Appveyor: Create a second archive with only the binaries, for people who don’t have much bandwidth.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-14 20:39:48 +01:00
parent bd5c943c65
commit 39e8c01f22
1 changed files with 4 additions and 0 deletions

View File

@ -33,8 +33,11 @@ after_build:
$GITREV = $(git show -s --format='%h') $GITREV = $(git show -s --format='%h')
# Where are these spaces coming from? Regardless, let's remove them # Where are these spaces coming from? Regardless, let's remove them
$BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ","" $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
$BUILD_NAME_NOQT = "citra-noqt-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
# Zip up the build folder # Zip up the build folder
7z a $BUILD_NAME .\build\bin\release\* 7z a $BUILD_NAME .\build\bin\release\*
# Do a second archive with only the binaries
7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe
# Download winscp # Download winscp
Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip" Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip"
@ -46,5 +49,6 @@ after_build:
"option confirm off" ` "option confirm off" `
"open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" ` "open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" `
"put $BUILD_NAME /citra/nightly/windows-amd64/" ` "put $BUILD_NAME /citra/nightly/windows-amd64/" `
"put $BUILD_NAME_NOQT /citra/nightly/windows-noqt-amd64/" `
"exit" "exit"
} }