summaryrefslogtreecommitdiff
path: root/azure-pipelines_macosx.yml
blob: fb1ccfac28175eba1f2d2060dc39be00e7609374 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
jobs:
- job: list_xcode
  pool:
    vmImage: 'macOS 10.13'
  steps:
  - script: |
      ls /Applications/ | grep Xcode|sort

- template: tools/ci/templates/azure/macosx.yml
  parameters:
    name: xcode_8
    xcode: Xcode_8.app

- template: tools/ci/templates/azure/macosx.yml
  parameters:
    name: xcode_9
    xcode: Xcode_9.app

- template: tools/ci/templates/azure/macosx.yml
  parameters:
    name: xcode
    xcode: Xcode.app

- template: tools/ci/templates/azure/macosx.yml
  parameters:
    name: xcode_8_3_3
    xcode: Xcode_8.3.3.app

- template: tools/ci/templates/azure/macosx.yml
  parameters:
    name: xcode_9_4_1
    xcode: Xcode_9.4.1.app

- job: vars
  pool:
    name: 'Hosted Ubuntu 1604'
  dependsOn:
    - xcode_8
    - xcode_9
    - xcode
    - xcode_8_3_3
    - xcode_9_4_1
  steps:
  - script: |
      curl -X POST \
          -F token=$(IMAGETOKEN) \
          -F "ref=macos" \
          -F "variables[AZUREURL]=$(System.TeamFoundationCollectionUri)$(System.TeamProjectId)/_apis/build/builds/$(Build.BuildId)/artifacts?artifactName=ANAME&api-version=5.0-preview.3&%24format=zip" \
          https://gitlab.com/api/v4/projects/2872004/trigger/pipeline