mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Update build scripts and AppVeyor definition to keep PDB archives as artifacts
This commit is contained in:
parent
515ba9a5eb
commit
83af5fb518
@ -9,3 +9,7 @@ artifacts:
|
|||||||
name: test.zip
|
name: test.zip
|
||||||
- path: Release/foo_input_vgmstream.fb2k-component
|
- path: Release/foo_input_vgmstream.fb2k-component
|
||||||
name: 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
|
||||||
|
12
build.ps1
12
build.ps1
@ -30,6 +30,16 @@ $cliFiles = @(
|
|||||||
"README.md"
|
"README.md"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
$fb2kPdbFiles = @(
|
||||||
|
"Release/foo_input_vgmstream.pdb"
|
||||||
|
)
|
||||||
|
|
||||||
|
$cliPdbFiles = @(
|
||||||
|
"Release/in_vgmstream.pdb",
|
||||||
|
"Release/test.pdb",
|
||||||
|
"Release/xmp-vgmstream.pdb"
|
||||||
|
)
|
||||||
|
|
||||||
function Unzip
|
function Unzip
|
||||||
{
|
{
|
||||||
param([string]$zipfile, [string]$outpath)
|
param([string]$zipfile, [string]$outpath)
|
||||||
@ -89,6 +99,8 @@ function Package
|
|||||||
Compress-Archive $cliFiles Release/test.zip -Force
|
Compress-Archive $cliFiles Release/test.zip -Force
|
||||||
Compress-Archive $fb2kFiles Release/foo_input_vgmstream.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
|
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
|
function Build
|
||||||
|
Loading…
Reference in New Issue
Block a user