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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
|
parameters:
jobTemplate: ''
buildConfig: ''
jobParameters: {}
jobs:
# TODO: simplify osIdentifier by adding osGroup and osSubGroup. See
# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
# Linux arm
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: arm
osGroup: Linux
osIdentifier: Linux
containerName: ubuntu_1404_arm_cross_build_image
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: add Ubuntu.1404.Arm32.Open once Jenkins has been shutdown
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
# We don't have any Linux/arm32 internal Helix queues
asString: ''
asArray: []
crossrootfsDir: '/crossrootfs/arm'
${{ insert }}: ${{ parameters.jobParameters }}
# Linux arm64
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: arm64
osGroup: Linux
osIdentifier: Linux
containerName: ubuntu_1604_arm64_cross_build_image
helixQueues:
${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'Ubuntu.1804.Arm64.Open'
asArray:
- Ubuntu.1804.Arm64.Open
${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
# TODO: add Ubuntu.1604.Arm64.Open once Jenkins has been shutdown
asString: 'Debian.9.Arm64.Open,Ubuntu.1804.Arm64.Open'
asArray:
- Debian.9.Arm64.Open
- Ubuntu.1804.Arm64.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Debian.9.Arm64,Ubuntu.1604.Arm64,Ubuntu.1804.Arm64'
asArray:
- Debian.9.Arm64
- Ubuntu.1604.Arm64
- Ubuntu.1804.Arm64
crossrootfsDir: '/crossrootfs/arm64'
${{ insert }}: ${{ parameters.jobParameters }}
# Linux musl
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x64
osGroup: Linux
osIdentifier: Linux_musl
containerName: musl_x64_build_image
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: there are no open Alpine queues https://github.com/dotnet/core-eng/issues/4958
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Alpine.36.Amd64,Alpine.38.Amd64'
asArray:
- Alpine.36.Amd64
- Alpine.38.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Linux musl arm64
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: arm64
osGroup: Linux
osIdentifier: Linux_musl
containerName: musl_arm64_build_image
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: there are no Alpine arm64 queues https://github.com/dotnet/core-eng/issues/5206
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
# TODO: there are no Alpine arm64 queues https://github.com/dotnet/core-eng/issues/5206
asString: ''
asArray: []
crossrootfsDir: '/crossrootfs/arm64'
${{ insert }}: ${{ parameters.jobParameters }}
# RHEL 6
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x64
osGroup: Linux
osIdentifier: Linux_rhel6
containerName: centos6_x64_build_image
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: enable RedHat.6.Amd64.Open
# when https://github.com/dotnet/core-eng/issues/4100 is resolved
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'RedHat.6.Amd64'
asArray:
- RedHat.6.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Linux x64
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x64
osGroup: Linux
osIdentifier: Linux
containerName: centos7_x64_build_image
helixQueues:
${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'Ubuntu.1804.Amd64.Open'
asArray:
- Ubuntu.1804.Amd64.Open
${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'Debian.9.Amd64.Open,Ubuntu.1604.Amd64.Open,Ubuntu.1804.Amd64.Open,Centos.7.Amd64.Open,Fedora.28.Amd64.Open,RedHat.7.Amd64.Open'
asArray:
- Debian.9.Amd64.Open
- Ubuntu.1604.Amd64.Open
- Ubuntu.1804.Amd64.Open
- Centos.7.Amd64.Open
- Fedora.28.Amd64.Open
- RedHat.7.Amd64.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Debian.9.Amd64,Ubuntu.1604.Amd64,Ubuntu.1804.Amd64,Centos.7.Amd64,Fedora.28.Amd64,RedHat.7.Amd64'
asArray:
- Debian.9.Amd64
- Ubuntu.1604.Amd64
- Ubuntu.1804.Amd64
- Centos.7.Amd64
- Fedora.28.Amd64
- RedHat.7.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# FreeBSD
# FreeBSD machines are currenrly offline. Re-enable in the official build when
# the machines are healthy.
# - template: ${{ parameters.jobTemplate }}
# parameters:
# buildConfig: ${{ parameters.buildConfig }}
# archType: x64
# osGroup: FreeBSD
# osIdentifier: FreeBSD
# # There are no FreeBSD helix queues, so we don't run tests at the moment.
# helixQueues:
# asString: ''
# asArray: []
# ${{ insert }}: ${{ parameters.jobParameters }}
# macOS x64
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x64
osGroup: OSX
osIdentifier: OSX
helixQueues:
${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'OSX.1013.Amd64.Open'
asArray:
- OSX.1013.Amd64.Open
${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
# TODO: add OSX.1012.Amd64.Open once Jenkins has been shutdown
asString: 'OSX.1013.Amd64.Open,OSX.1014.Amd64.Open'
asArray:
- OSX.1013.Amd64.Open
- OSX.1014.Amd64.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'OSX.1012.Amd64,OSX.1013.Amd64,OSX.1014.Amd64'
asArray:
- OSX.1012.Amd64
- OSX.1013.Amd64
- OSX.1014.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Windows x64/x86
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x64
osGroup: Windows_NT
osIdentifier: Windows_NT
helixQueues:
${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'Windows.10.Amd64.Open'
asArray:
- Windows.10.Amd64.Open
${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
# TODO: add Windows.10.Nano.Amd64.Open once https://github.com/dotnet/coreclr/issues/21693 has been resolved
# TODO: add Windows.7.Amd64.Open once https://github.com/dotnet/coreclr/issues/21796 has been resolved
asString: 'Windows.10.Amd64.Open,Windows.81.Amd64.Open'
asArray:
- Windows.10.Amd64.Open
- Windows.81.Amd64.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Windows.10.Amd64,Windows.10.Nano.Amd64,Windows.10.Amd64.Core,Windows.7.Amd64,Windows.81.Amd64'
asArray:
- Windows.10.Amd64
- Windows.10.Nano.Amd64
- Windows.10.Amd64.Core
- Windows.7.Amd64
- Windows.81.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: x86
osGroup: Windows_NT
osIdentifier: Windows_NT
helixQueues:
${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
asString: 'Windows.10.Amd64.Open'
asArray:
- Windows.10.Amd64.Open
${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
# TODO: add Windows.7.Amd64.Open once https://github.com/dotnet/coreclr/issues/21796 has been resolved
asString: 'Windows.10.Amd64.Open,Windows.81.Amd64.Open'
asArray:
- Windows.10.Amd64.Open
- Windows.81.Amd64.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Windows.10.Amd64,Windows.10.Amd64.Core,Windows.7.Amd64,Windows.81.Amd64'
asArray:
- Windows.10.Amd64
- Windows.10.Amd64.Core
- Windows.7.Amd64
- Windows.81.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Windows arm/arm64
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: arm
osGroup: Windows_NT
osIdentifier: Windows_NT
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: add Windows.10.Arm64.Open once Jenkins has been shutdown
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Windows.10.Arm64'
asArray:
- Windows.10.Arm64
${{ insert }}: ${{ parameters.jobParameters }}
- template: ${{ parameters.jobTemplate }}
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: arm64
osGroup: Windows_NT
osIdentifier: Windows_NT
helixQueues:
${{ if eq(variables['System.TeamProject'], 'public') }}:
# TODO: add Windows.10.Arm64.Open once Jenkins has been shutdown
asString: ''
asArray: []
${{ if eq(variables['System.TeamProject'], 'internal') }}:
asString: 'Windows.10.Arm64'
asArray:
- Windows.10.Arm64
${{ insert }}: ${{ parameters.jobParameters }}
|