diff options
author | James Rowe <jroweboy@gmail.com> | 2016-09-01 10:47:31 -0600 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2016-09-01 10:47:31 -0600 |
commit | 93bcd00e44f42757307cf76ef7c810637ac9dd85 (patch) | |
tree | 4de2115f8557ed1439e2dea51ea34dd145d0e0be /appveyor.yml | |
parent | b9c857be819bf82ce7a5d38e18f41bb82e68a483 (diff) |
Create a separate archive for debugsymbols on windows
This reduces the main download size and uploads the symbols to a different
directory
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 898690faa..0ffb680ff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -42,11 +42,16 @@ on_success: $GITREV = $(git show -s --format='%h') # Where are these spaces coming from? Regardless, let's remove them $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ","" + $BUILD_NAME_PDB = "citra-${GITDATE}-${GITREV}-windows-amd64-debugsymbols.7z" -replace " ","" $BUILD_NAME_NOQT = "citra-noqt-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ","" # Remove unnecessary files rm .\build\bin\release\*tests* + # Put the pdb files in a separate archive and remove them from the main download + 7z a $BUILD_NAME_PDB .\build\bin\release\*.pdb + rm .\build\bin\release\*.pdb + # Zip up the build folder and documentation 7z a $BUILD_NAME .\build\bin\release\* .\license.txt .\README.md # Do a second archive with only the binaries (excludes dlls) and documentation @@ -61,5 +66,6 @@ on_success: "open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" ` "put $BUILD_NAME /citra/nightly/windows-amd64/" ` "put $BUILD_NAME_NOQT /citra/nightly/windows-noqt-amd64/" ` + "put $BUILD_NAME_PDB /citra/nightly/windows-amd64-debugsymbols/" ` "exit" } |