summaryrefslogtreecommitdiff
path: root/tools/ci/templates/azure/macosx.yml
blob: adcc1431c11c3f561dc1fb9f2f36fb8d0721cb30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
    env:
      GITLABTOKEN: $(gitlabtoken)
  - task: PublishBuildArtifacts@1
    inputs:
      artifactName: ${{ parameters.name }}