summaryrefslogtreecommitdiff
path: root/tools/ci/templates/azure/macosx.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/templates/azure/macosx.yml')
-rw-r--r--tools/ci/templates/azure/macosx.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/ci/templates/azure/macosx.yml b/tools/ci/templates/azure/macosx.yml
new file mode 100644
index 000000000..4d3e355df
--- /dev/null
+++ b/tools/ci/templates/azure/macosx.yml
@@ -0,0 +1,17 @@
+parameters:
+ name: ''
+ xcode: ''
+ vmImage: 'macOS 10.13'
+
+jobs:
+- job: ${{ parameters.name }}
+ pool:
+ vmImage: '${{ parameters.vmImage }}'
+ steps:
+ - script: |
+ export xcodename="${{ parameters.xcode }}"
+ export artifacts="$(Build.ArtifactStagingDirectory)"
+ ./tools/ci/jobs/xcode.sh
+ - task: PublishBuildArtifacts@1
+ inputs:
+ artifactName: ${{ parameters.name }}