Update build scripts and AppVeyor definition to keep PDB archives as artifacts

This commit is contained in:
Christopher Snowhill 2018-12-29 17:41:03 -08:00
parent 515ba9a5eb
commit 83af5fb518
2 changed files with 16 additions and 0 deletions

View File

@ -9,3 +9,7 @@ artifacts:
name: test.zip
- path: Release/foo_input_vgmstream.fb2k-component
name: foo_input_vgmstream.fb2k-component
- path: Release/test.pdb.zip
name: test.pdb.zip
- path: Release/foo_input_vgmstream.pdb.zip
name: foo_input_vgmstream.pdb.zip

View File

@ -30,6 +30,16 @@ $cliFiles = @(
"README.md"
)
$fb2kPdbFiles = @(
"Release/foo_input_vgmstream.pdb"
)
$cliPdbFiles = @(
"Release/in_vgmstream.pdb",
"Release/test.pdb",
"Release/xmp-vgmstream.pdb"
)
function Unzip
{
param([string]$zipfile, [string]$outpath)
@ -89,6 +99,8 @@ function Package
Compress-Archive $cliFiles Release/test.zip -Force
Compress-Archive $fb2kFiles Release/foo_input_vgmstream.zip -Force
Move-Item Release/foo_input_vgmstream.zip Release/foo_input_vgmstream.fb2k-component -Force
Compress-Archive $cliPdbFiles Release/test.pdb.zip -Force
Compress-Archive $fb2kPdbFiles Release/foo_input_vgmstream.pdb.zip -Force
}
function Build