aboutsummaryrefslogtreecommitdiff
path: root/scripts/azure-pipelines/azure-pipelines.yml
blob: 49d30c2bc578ab4546a0110f2d53089bd2aec19f (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: MIT
#
variables:
  windows-pool: 'PrWin-2021-09-08'
  linux-pool: 'PrLin-2021-09-08'
  osx-pool: 'PrOsx-2021-07-27'

jobs:
- template: windows/azure-pipelines.yml
  parameters:
    triplet: x86-windows
    jobName: x86_windows
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: x64-windows
    jobName: x64_windows
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: x64-windows-static
    jobName: x64_windows_static
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: x64-windows-static-md
    jobName: x64_windows_static_md
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: x64-uwp
    jobName: x64_uwp
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: arm64-windows
    jobName: arm64_windows
    poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
  parameters:
    triplet: arm-uwp
    jobName: arm_uwp
    poolName: $(windows-pool)

- template: osx/azure-pipelines.yml
  parameters:
    poolName: $(osx-pool)
    ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
      mode: AllPorts
    ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
      mode: NonTensorflow
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
  - template: osx/azure-pipelines.yml
    parameters:
      poolName: $(osx-pool)
      mode: OnlyTensorflow
      jobName: x64_osx_tensorflow

- template: linux/azure-pipelines.yml
  parameters:
    poolName: $(linux-pool)