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
|
# 31 march 2019
|
||||||
|
|
||||||
|
variables:
|
||||||
|
examples:
|
||||||
|
- controlgallery
|
||||||
|
- cpp-multithread
|
||||||
|
- datetime
|
||||||
|
- drawtext
|
||||||
|
- histogram
|
||||||
|
- tester
|
||||||
|
- timer
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: linux_amd64_shared_ninja
|
- job: linux_amd64_shared_ninja
|
||||||
displayName: 'Linux amd64 Shared with Ninja'
|
displayName: 'Linux amd64 Shared with Ninja'
|
||||||
|
@ -21,9 +31,8 @@ jobs:
|
||||||
- script: |
|
- script: |
|
||||||
pushd build/meson-out
|
pushd build/meson-out
|
||||||
cp ../../ui.h ../../ui_unix.h .
|
cp ../../ui.h ../../ui_unix.h .
|
||||||
ls -lF .
|
echo tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-linux-amd64-shared.tgz libui.so.0 ui.h ui_unix.h
|
||||||
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)]
|
||||||
tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz tester controlgallery cpp-multithread datetime drawtext histogram timer
|
|
||||||
rm ui.h ui_unix.h
|
rm ui.h ui_unix.h
|
||||||
popd
|
popd
|
||||||
displayName: 'Create Artifacts'
|
displayName: 'Create Artifacts'
|
||||||
|
|
Loading…
Reference in New Issue