This commit is contained in:
Pietro Gagliardi 2019-04-06 01:06:13 -04:00
parent 58753f8478
commit fec8042cfa
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
# 31 march 2019
variables:
- name: releaseExamples
value: ['controlgallery', 'cpp-multithread', 'datetime', 'drawtext', 'histogram', 'tester', 'timer']
releaseExamplesUnix: 'controlgallery cpp-multithread datetime drawtext histogram tester timer'
jobs:
- job: linux_amd64_shared_ninja
@ -26,7 +25,7 @@ jobs:
pushd build/meson-out
cp ../../ui.h ../../ui_unix.h .
echo tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-linux-amd64-shared.tgz libui.so.0 ui.h ui_unix.h
echo tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz $[join(' ', variables.releaseExamples)]
echo tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz $(variables.releaseExamplesUnix)
rm ui.h ui_unix.h
popd
displayName: 'Create Artifacts'