summaryrefslogtreecommitdiff
path: root/tools/ci/templates/azure/macosx.yml
blob: 4d3e355df7673ff71850e455012bb7727448d5b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 }}