-
-
Notifications
You must be signed in to change notification settings - Fork 507
/
Copy pathazure-pipelines.yml
68 lines (59 loc) · 2.23 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
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pr:
- master
jobs:
- template: azure-pipelines-job-template.yml
parameters:
os: windows
architecture: x64
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
publishBuild: true
- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_dotnet_x64
os: windows
architecture: x86
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_dotnet_x86
os: windows
architecture: x64
runtimeType: mono
frameworks: [net35, net45, net472, net48] # mono for .NET Core just delegates to actual .NET Core, so no need for mono .NET Core tests
- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_mono_x64
os: windows
architecture: x86
runtimeType: mono
frameworks: [net35, net45, net472, net48] # mono for .NET Core just delegates to actual .NET Core, so no need for mono .NET Core tests
- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_mono_x86
os: ubuntu
architecture: x64
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
# Without an x86 ubuntu agent and with mono's packaging not multi-arch-safe (can't install x86 mono on x64 ubuntu), we can't test on x86 ubuntu.
#- template: azure-pipelines-job-template.yml
# parameters:
# os: ubuntu
# architecture: x86
# frameworks: [net35, net45, net472, net48] # .NET Core x86 is unavailable for non-Windows
- template: azure-pipelines-job-template.yml
parameters:
DependsOn: ubuntu_dotnet_x64
os: macOS
architecture: x64
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
# x86 ubuntu woes apply to x86 macOS as well.
#- template: azure-pipelines-job-template.yml
# parameters:
# os: macOS
# architecture: x86
# frameworks: [net35, net45, net472, net48] # .NET Core x86 is unavailable for non-Windows