Split the example names into a variable and echoed the commands for archiving so I can make sure everything is right.
This commit is contained in:
parent
f929365b6e
commit
7692103f7f
|
@ -1,5 +1,15 @@
|
|||
# 31 march 2019
|
||||
|
||||
variables:
|
||||
examples:
|
||||
- controlgallery
|
||||
- cpp-multithread
|
||||
- datetime
|
||||
- drawtext
|
||||
- histogram
|
||||
- tester
|
||||
- timer
|
||||
|
||||
jobs:
|
||||
- job: linux_amd64_shared_ninja
|
||||
displayName: 'Linux amd64 Shared with Ninja'
|
||||
|
@ -21,9 +31,8 @@ jobs:
|
|||
- script: |
|
||||
pushd build/meson-out
|
||||
cp ../../ui.h ../../ui_unix.h .
|
||||
ls -lF .
|
||||
tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-linux-amd64-shared.tgz libui.so.0 ui.h ui_unix.h
|
||||
tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz tester controlgallery cpp-multithread datetime drawtext histogram timer
|
||||
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.examples)]
|
||||
rm ui.h ui_unix.h
|
||||
popd
|
||||
displayName: 'Create Artifacts'
|
||||
|
|
Loading…
Reference in New Issue