And another oops, but I confirmed the archive commands look right, so let's go for real now.
This commit is contained in:
parent
08096e13a4
commit
8d90ae1dc9
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- template: azure-pipelines/build-ninja.yml
|
- template: azure-pipelines/build-ninja.yml
|
||||||
parameters:
|
parameters:
|
||||||
beforeBuild: call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
|
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:
|
parameters:
|
||||||
os: windows
|
os: windows
|
||||||
arch: 386
|
arch: 386
|
||||||
|
|
|
@ -11,12 +11,11 @@ parameters:
|
||||||
steps:
|
steps:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
echo $PSVersionTable
|
echo $PSVersionTable
|
||||||
Set-PSDebug -Trace 2
|
|
||||||
pushd build\meson-out
|
pushd build\meson-out
|
||||||
Copy-Item @("..\..\ui.h","..\..\${{ parameters.osHeader }}") -Destination .
|
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}}"))
|
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"})
|
Compress-Archive -Destination $(Build.ArtifactStagingDirectory)\examples-$(Build.SourceBranchName)-${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}.zip -Path @("$(releaseExamples)".Split(" ") | % {$_ + ".exe"})
|
||||||
del ui.h ${{ parameters.osHeader }}
|
Remove-Item @("ui.h","${{ parameters.osHeader }}")
|
||||||
popd
|
popd
|
||||||
displayName: 'Create Artifacts'
|
displayName: 'Create Artifacts'
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
|
|
Loading…
Reference in New Issue