@@ -33,13 +33,14 @@ jobs:
33
33
steps :
34
34
- task : UseDotNet@2
35
35
inputs :
36
- version : ' 6 .x'
36
+ version : ' 7 .x'
37
37
- task : UseDotNet@2
38
38
inputs :
39
- version : ' 5.x'
39
+ version : ' 6.x'
40
+ # .NET 5 required for GitVersion
40
41
- task : UseDotNet@2
41
42
inputs :
42
- version : ' 3 .x'
43
+ version : ' 5 .x'
43
44
- bash : |
44
45
./build.sh
45
46
displayName: 'Cake Build'
@@ -55,68 +56,27 @@ jobs:
55
56
steps :
56
57
- task : UseDotNet@2
57
58
inputs :
58
- version : ' 6 .x'
59
+ version : ' 7 .x'
59
60
- task : UseDotNet@2
60
61
inputs :
61
- version : ' 5.x'
62
+ version : ' 6.x'
63
+ # .NET 5 required for GitVersion
62
64
- task : UseDotNet@2
63
65
inputs :
64
- version : ' 3 .x'
66
+ version : ' 5 .x'
65
67
- bash : |
66
68
./build.sh --verbosity=diagnostic
67
69
displayName: 'Cake Build'
68
70
- publish : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
69
71
artifact : NuGet Package Ubuntu
70
72
displayName : ' Publish NuGet package as build artifact'
71
73
72
- # Integration Tests Frosting Windows (.NET Core 3.1)
73
- - job : Test_Frosting_Windows_NetCoreApp31
74
- displayName : Integration Tests Frosting Windows (.NET Core 3.1)
75
- dependsOn : Build_Windows
76
- pool :
77
- vmImage : ' windows-2019'
78
- steps :
79
- - download : current
80
- artifact : NuGet Package Windows
81
- displayName : ' Download build artifact'
82
- - task : CopyFiles@2
83
- inputs :
84
- sourceFolder : $(Pipeline.Workspace)/NuGet Package Windows
85
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
86
- displayName : ' Copy build artifact for test run'
87
- - powershell : ./build.ps1 --verbosity=diagnostic
88
- workingDirectory : ./tests/frosting/netcoreapp3.1
89
- displayName : ' Run integration tests'
90
- env :
91
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
92
-
93
- # Integration Tests Frosting Windows (.NET 5)
94
- - job : Test_Frosting_Windows_Net5
95
- displayName : Integration Tests Frosting Windows (.NET 5)
96
- dependsOn : Build_Windows
97
- pool :
98
- vmImage : ' windows-2019'
99
- steps :
100
- - download : current
101
- artifact : NuGet Package Windows
102
- displayName : ' Download build artifact'
103
- - task : CopyFiles@2
104
- inputs :
105
- sourceFolder : $(Pipeline.Workspace)/NuGet Package Windows
106
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
107
- displayName : ' Copy build artifact for test run'
108
- - powershell : ./build.ps1 --verbosity=diagnostic
109
- workingDirectory : ./tests/frosting/net5.0
110
- displayName : ' Run integration tests'
111
- env :
112
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
113
-
114
74
# Integration Tests Frosting Windows (.NET 6)
115
- - job : Test_Frosting_Windows_Net6
75
+ - job : Test_Frosting_Windows_Net5
116
76
displayName : Integration Tests Frosting Windows (.NET 6)
117
77
dependsOn : Build_Windows
118
78
pool :
119
- vmImage : ' windows-2022 '
79
+ vmImage : ' windows-2019 '
120
80
steps :
121
81
- download : current
122
82
artifact : NuGet Package Windows
@@ -132,12 +92,12 @@ jobs:
132
92
env :
133
93
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
134
94
135
- # Integration Tests Script Runner Windows (.NET Core 3.1 )
136
- - job : Test_Script_Runner_Windows_NetCoreApp31
137
- displayName : Integration Tests Script Runner Windows (.NET Core 3.1 )
95
+ # Integration Tests Frosting Windows (.NET 7 )
96
+ - job : Test_Frosting_Windows_Net7
97
+ displayName : Integration Tests Frosting Windows (.NET 7 )
138
98
dependsOn : Build_Windows
139
99
pool :
140
- vmImage : ' windows-2019 '
100
+ vmImage : ' windows-2022 '
141
101
steps :
142
102
- download : current
143
103
artifact : NuGet Package Windows
@@ -148,14 +108,14 @@ jobs:
148
108
targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
149
109
displayName : ' Copy build artifact for test run'
150
110
- powershell : ./build.ps1 --verbosity=diagnostic
151
- workingDirectory : ./tests/script-runner/netcoreapp3.1
111
+ workingDirectory : ./tests/frosting/net7.0
152
112
displayName : ' Run integration tests'
153
113
env :
154
114
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
155
115
156
- # Integration Tests Script Runner Windows (.NET 5 )
157
- - job : Test_Script_Runner_Windows_Net5
158
- displayName : Integration Tests Script Runner Windows (.NET 5 )
116
+ # Integration Tests Script Runner Windows (.NET 6 )
117
+ - job : Test_Script_Runner_Windows_Net6
118
+ displayName : Integration Tests Script Runner Windows (.NET 6 )
159
119
dependsOn : Build_Windows
160
120
pool :
161
121
vmImage : ' windows-2019'
@@ -169,14 +129,14 @@ jobs:
169
129
targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
170
130
displayName : ' Copy build artifact for test run'
171
131
- powershell : ./build.ps1 --verbosity=diagnostic
172
- workingDirectory : ./tests/script-runner/net5 .0
132
+ workingDirectory : ./tests/script-runner/net6 .0
173
133
displayName : ' Run integration tests'
174
134
env :
175
135
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
176
136
177
- # Integration Tests Script Runner Windows (.NET 6 )
178
- - job : Test_Script_Runner_Windows_Net6
179
- displayName : Integration Tests Script Runner Windows (.NET 6 )
137
+ # Integration Tests Script Runner Windows (.NET 7 )
138
+ - job : Test_Script_Runner_Windows_Net7
139
+ displayName : Integration Tests Script Runner Windows (.NET 7 )
180
140
dependsOn : Build_Windows
181
141
pool :
182
142
vmImage : ' windows-2022'
@@ -190,55 +150,7 @@ jobs:
190
150
targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
191
151
displayName : ' Copy build artifact for test run'
192
152
- powershell : ./build.ps1 --verbosity=diagnostic
193
- workingDirectory : ./tests/script-runner/net6.0
194
- displayName : ' Run integration tests'
195
- env :
196
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
197
-
198
- # Integration Tests Frosting macOS (.NET Core 3.1)
199
- - job : Test_Frosting_macOS_NetCoreApp31
200
- displayName : Integration Tests Frosting macOS (.NET Core 3.1)
201
- dependsOn : Build_macOS
202
- pool :
203
- vmImage : ' macOS-11'
204
- steps :
205
- - download : current
206
- artifact : NuGet Package macOS
207
- displayName : ' Download build artifact'
208
- - task : CopyFiles@2
209
- inputs :
210
- sourceFolder : $(Pipeline.Workspace)/NuGet Package macOS
211
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
212
- displayName : ' Copy build artifact for test run'
213
- - task : UseDotNet@2
214
- inputs :
215
- version : ' 3.x'
216
- - bash : ./build.sh --verbosity=diagnostic
217
- workingDirectory : ./tests/frosting/netcoreapp3.1
218
- displayName : ' Run integration tests'
219
- env :
220
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
221
-
222
- # Integration Tests Frosting macOS (.NET 5)
223
- - job : Test_Frosting_macOS_Net5
224
- displayName : Integration Tests Frosting macOS (.NET 5)
225
- dependsOn : Build_macOS
226
- pool :
227
- vmImage : ' macOS-11'
228
- steps :
229
- - download : current
230
- artifact : NuGet Package macOS
231
- displayName : ' Download build artifact'
232
- - task : CopyFiles@2
233
- inputs :
234
- sourceFolder : $(Pipeline.Workspace)/NuGet Package macOS
235
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
236
- displayName : ' Copy build artifact for test run'
237
- - task : UseDotNet@2
238
- inputs :
239
- version : ' 5.x'
240
- - bash : ./build.sh --verbosity=diagnostic
241
- workingDirectory : ./tests/frosting/net5.0
153
+ workingDirectory : ./tests/script-runner/net7.0
242
154
displayName : ' Run integration tests'
243
155
env :
244
156
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
@@ -267,9 +179,9 @@ jobs:
267
179
env :
268
180
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
269
181
270
- # Integration Tests Script Runner macOS (.NET Core 3.1 )
271
- - job : Test_Script_Runner_macOS_NetCoreApp31
272
- displayName : Integration Tests Script Runner macOS (.NET Core 3.1 )
182
+ # Integration Tests Frosting macOS (.NET 7 )
183
+ - job : Test_Frosting_macOS_Net7
184
+ displayName : Integration Tests Frosting macOS (.NET 7 )
273
185
dependsOn : Build_macOS
274
186
pool :
275
187
vmImage : ' macOS-11'
@@ -284,33 +196,9 @@ jobs:
284
196
displayName : ' Copy build artifact for test run'
285
197
- task : UseDotNet@2
286
198
inputs :
287
- version : ' 3 .x'
199
+ version : ' 7 .x'
288
200
- bash : ./build.sh --verbosity=diagnostic
289
- workingDirectory : ./tests/script-runner/netcoreapp3.1
290
- displayName : ' Run integration tests'
291
- env :
292
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
293
-
294
- # Integration Tests Script Runner macOS (.NET 5)
295
- - job : Test_Script_Runner_macOS_Net5
296
- displayName : Integration Tests Script Runner macOS (.NET 5)
297
- dependsOn : Build_macOS
298
- pool :
299
- vmImage : ' macOS-11'
300
- steps :
301
- - download : current
302
- artifact : NuGet Package macOS
303
- displayName : ' Download build artifact'
304
- - task : CopyFiles@2
305
- inputs :
306
- sourceFolder : $(Pipeline.Workspace)/NuGet Package macOS
307
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
308
- displayName : ' Copy build artifact for test run'
309
- - task : UseDotNet@2
310
- inputs :
311
- version : ' 5.x'
312
- - bash : ./build.sh --verbosity=diagnostic
313
- workingDirectory : ./tests/script-runner/net5.0
201
+ workingDirectory : ./tests/frosting/net7.0
314
202
displayName : ' Run integration tests'
315
203
env :
316
204
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
@@ -339,50 +227,26 @@ jobs:
339
227
env :
340
228
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
341
229
342
- # Integration Tests Frosting Ubuntu (.NET Core 3.1)
343
- - job : Test_Frosting_Ubuntu_NetCoreApp31
344
- displayName : Integration Tests Frosting Ubuntu (.NET Core 3.1)
345
- dependsOn : Build_Ubuntu
346
- pool :
347
- vmImage : ' ubuntu-20.04'
348
- steps :
349
- - download : current
350
- artifact : NuGet Package Ubuntu
351
- displayName : ' Download build artifact'
352
- - task : CopyFiles@2
353
- inputs :
354
- sourceFolder : $(Pipeline.Workspace)/NuGet Package Ubuntu
355
- targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
356
- displayName : ' Copy build artifact for test run'
357
- - task : UseDotNet@2
358
- inputs :
359
- version : ' 3.x'
360
- - bash : ./build.sh --verbosity=diagnostic
361
- workingDirectory : ./tests/frosting/netcoreapp3.1
362
- displayName : ' Run integration tests'
363
- env :
364
- SYSTEM_ACCESSTOKEN : $(System.AccessToken)
365
-
366
- # Integration Tests Frosting Ubuntu (.NET 5)
367
- - job : Test_Frosting_Ubuntu_Net5
368
- displayName : Integration Tests Frosting Ubuntu (.NET 5)
369
- dependsOn : Build_Ubuntu
230
+ # Integration Tests Script Runner macOS (.NET 7)
231
+ - job : Test_Script_Runner_macOS_Net7
232
+ displayName : Integration Tests Script Runner macOS (.NET 7)
233
+ dependsOn : Build_macOS
370
234
pool :
371
- vmImage : ' ubuntu-20.04 '
235
+ vmImage : ' macOS-11 '
372
236
steps :
373
237
- download : current
374
- artifact : NuGet Package Ubuntu
238
+ artifact : NuGet Package macOS
375
239
displayName : ' Download build artifact'
376
240
- task : CopyFiles@2
377
241
inputs :
378
- sourceFolder : $(Pipeline.Workspace)/NuGet Package Ubuntu
242
+ sourceFolder : $(Pipeline.Workspace)/NuGet Package macOS
379
243
targetFolder : $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
380
244
displayName : ' Copy build artifact for test run'
381
245
- task : UseDotNet@2
382
246
inputs :
383
- version : ' 5 .x'
247
+ version : ' 7 .x'
384
248
- bash : ./build.sh --verbosity=diagnostic
385
- workingDirectory : ./tests/frosting/net5 .0
249
+ workingDirectory : ./tests/script-runner/net7 .0
386
250
displayName : ' Run integration tests'
387
251
env :
388
252
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
@@ -411,9 +275,9 @@ jobs:
411
275
env :
412
276
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
413
277
414
- # Integration Tests Script Runner Ubuntu (.NET Core 3.1 )
415
- - job : Test_Script_Runner_Ubuntu_NetCoreApp31
416
- displayName : Integration Tests Script Runner Ubuntu (.NET Core 3.1 )
278
+ # Integration Tests Frosting Ubuntu (.NET 7 )
279
+ - job : Test_Frosting_Ubuntu_Net7
280
+ displayName : Integration Tests Frosting Ubuntu (.NET 7 )
417
281
dependsOn : Build_Ubuntu
418
282
pool :
419
283
vmImage : ' ubuntu-20.04'
@@ -428,16 +292,16 @@ jobs:
428
292
displayName : ' Copy build artifact for test run'
429
293
- task : UseDotNet@2
430
294
inputs :
431
- version : ' 3 .x'
295
+ version : ' 7 .x'
432
296
- bash : ./build.sh --verbosity=diagnostic
433
- workingDirectory : ./tests/script-runner/netcoreapp3.1
297
+ workingDirectory : ./tests/frosting/net7.0
434
298
displayName : ' Run integration tests'
435
299
env :
436
300
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
437
301
438
- # Integration Tests Script Runner Ubuntu (.NET 5 )
439
- - job : Test_Script_Runner_Ubuntu_Net5
440
- displayName : Integration Tests Script Runner Ubuntu (.NET 5 )
302
+ # Integration Tests Script Runner Ubuntu (.NET 6 )
303
+ - job : Test_Script_Runner_Ubuntu_Net6
304
+ displayName : Integration Tests Script Runner Ubuntu (.NET 6 )
441
305
dependsOn : Build_Ubuntu
442
306
pool :
443
307
vmImage : ' ubuntu-20.04'
@@ -452,16 +316,16 @@ jobs:
452
316
displayName : ' Copy build artifact for test run'
453
317
- task : UseDotNet@2
454
318
inputs :
455
- version : ' 5 .x'
319
+ version : ' 6 .x'
456
320
- bash : ./build.sh --verbosity=diagnostic
457
- workingDirectory : ./tests/script-runner/net5 .0
321
+ workingDirectory : ./tests/script-runner/net6 .0
458
322
displayName : ' Run integration tests'
459
323
env :
460
324
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
461
325
462
- # Integration Tests Script Runner Ubuntu (.NET 6 )
463
- - job : Test_Script_Runner_Ubuntu_Net6
464
- displayName : Integration Tests Script Runner Ubuntu (.NET 6 )
326
+ # Integration Tests Script Runner Ubuntu (.NET 7 )
327
+ - job : Test_Script_Runner_Ubuntu_Net7
328
+ displayName : Integration Tests Script Runner Ubuntu (.NET 7 )
465
329
dependsOn : Build_Ubuntu
466
330
pool :
467
331
vmImage : ' ubuntu-20.04'
@@ -476,9 +340,9 @@ jobs:
476
340
displayName : ' Copy build artifact for test run'
477
341
- task : UseDotNet@2
478
342
inputs :
479
- version : ' 6 .x'
343
+ version : ' 7 .x'
480
344
- bash : ./build.sh --verbosity=diagnostic
481
- workingDirectory : ./tests/script-runner/net6 .0
345
+ workingDirectory : ./tests/script-runner/net7 .0
482
346
displayName : ' Run integration tests'
483
347
env :
484
348
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
0 commit comments