forked from microsoft/STL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
137 lines (125 loc) · 3.58 KB
/
azure-pipelines.yml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Build STL targeting x86, x64, arm, arm64
variables:
- template: azure-devops/config.yml
pr:
drafts: false
stages:
- stage: Code_Format
displayName: 'Code Format'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/format-validation.yml
- stage: Early_Build_x64
dependsOn: []
displayName: 'Early Build x64'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: x64
analyzeBuild: true
buildBenchmarks: true
numShards: 1
skipTesting: true
- stage: Early_Build_x86
dependsOn: []
displayName: 'Early Build x86'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x86
targetArch: x86
analyzeBuild: true
buildBenchmarks: true
numShards: 1
skipTesting: true
- stage: Early_Build_ARM
dependsOn: []
displayName: 'Early Build ARM'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: arm
analyzeBuild: true
numShards: 1
skipTesting: true
- stage: Early_Build_ARM64
dependsOn: []
displayName: 'Early Build ARM64'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: arm64
analyzeBuild: true
buildBenchmarks: true
numShards: 1
skipTesting: true
- stage: Build_And_Test_x64
dependsOn:
- Code_Format
- Early_Build_x64
- Early_Build_x86
- Early_Build_ARM
- Early_Build_ARM64
displayName: 'Build and Test x64'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: x64
- stage: Build_And_Test_x86
dependsOn: Build_And_Test_x64
displayName: 'Build and Test x86'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x86
targetArch: x86
- stage: Build_And_Test_ARM
dependsOn: Build_And_Test_x64
displayName: 'Build and Test ARM'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: arm
testsBuildOnly: true
- stage: Build_And_Test_ARM64
dependsOn: Build_And_Test_x64
displayName: 'Build and Test ARM64'
pool:
name: ${{ variables.poolName }}
demands: ${{ variables.poolDemands }}
jobs:
- template: azure-devops/build-and-test.yml
parameters:
hostArch: x64
targetArch: arm64
testsBuildOnly: true