mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Merge pull request #2039 from jroweboy/remove-pdb
Create a separate archive for debug symbols on windows
This commit is contained in:
commit
197a3f178e
1 changed files with 6 additions and 0 deletions
|
@ -42,11 +42,16 @@ on_success:
|
||||||
$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_PDB = "citra-${GITDATE}-${GITREV}-windows-amd64-debugsymbols.7z" -replace " ",""
|
||||||
$BUILD_NAME_NOQT = "citra-noqt-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
|
$BUILD_NAME_NOQT = "citra-noqt-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
|
||||||
|
|
||||||
# Remove unnecessary files
|
# Remove unnecessary files
|
||||||
rm .\build\bin\release\*tests*
|
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
|
# Zip up the build folder and documentation
|
||||||
7z a $BUILD_NAME .\build\bin\release\* .\license.txt .\README.md
|
7z a $BUILD_NAME .\build\bin\release\* .\license.txt .\README.md
|
||||||
# Do a second archive with only the binaries (excludes dlls) and documentation
|
# 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=*" `
|
"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/" `
|
"put $BUILD_NAME_NOQT /citra/nightly/windows-noqt-amd64/" `
|
||||||
|
"put $BUILD_NAME_PDB /citra/nightly/windows-amd64-debugsymbols/" `
|
||||||
"exit"
|
"exit"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue