summaryrefslogtreecommitdiff
path: root/tools/ci/templates/azure/macosx.yml
blob: 20161dfa981c43d724cdea52dcb38250e6c9d681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
  name: ''
  xcode: ''
  vmImage: 'macOS-latest'

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 }}