From 7692103f7fc8abd6e8f960cf88ba1ca630aeec1e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 6 Apr 2019 00:46:18 -0400 Subject: [PATCH] Split the example names into a variable and echoed the commands for archiving so I can make sure everything is right. --- azure-pipelines.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 943350cd..a68869d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'