And another oops, but I confirmed the archive commands look right, so let's go for real now.

This commit is contained in:
Pietro Gagliardi 2019-04-06 20:52:38 -04:00
parent 08096e13a4
commit 8d90ae1dc9
2 changed files with 4 additions and 5 deletions

View File

@ -22,7 +22,7 @@ jobs:
- template: azure-pipelines/build-ninja.yml
parameters:
beforeBuild: call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- template: azure-pipelines/darwinunix-artifacts.yml
- template: azure-pipelines/windows-artifacts.yml
parameters:
os: windows
arch: 386

View File

@ -11,12 +11,11 @@ parameters:
steps:
- powershell: |
echo $PSVersionTable
Set-PSDebug -Trace 2
pushd build\meson-out
Copy-Item @("..\..\ui.h","..\..\${{ parameters.osHeader }}") -Destination .
echo Compress-Archive `-Destination $(Build.ArtifactStagingDirectory)\libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.toolchain }}-${{ parameters.libtype }}.zip `-Path @("${{ parameters.libfiles }}".Split(" ") + @("ui.h","${{ parameters.osHeader}}"))
echo Compress-Archive `-Destination $(Build.ArtifactStagingDirectory)\examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.zip `-Path @("$(releaseExamples)".Split(" ") | % {$_ + ".exe"})
del ui.h ${{ parameters.osHeader }}
Compress-Archive -Destination $(Build.ArtifactStagingDirectory)\libui-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.toolchain }}-${{ parameters.libtype }}.zip -Path @("${{ parameters.libfiles }}".Split(" ") + @("ui.h","${{ parameters.osHeader}}"))
Compress-Archive -Destination $(Build.ArtifactStagingDirectory)\examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.zip -Path @("$(releaseExamples)".Split(" ") | % {$_ + ".exe"})
Remove-Item @("ui.h","${{ parameters.osHeader }}")
popd
displayName: 'Create Artifacts'
- task: PublishBuildArtifacts@1