forked from dotnet/vscode-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
94 lines (88 loc) · 2 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
trigger:
batch: true
branches:
include:
- feature/*
- release
- prerelease
- main
pr:
branches:
include:
- feature/*
- release
- prerelease
- main
paths:
exclude:
- ./*.md
stages:
- template: azure-pipelines/build-all.yml
parameters:
isOfficial: false
- stage: Test_Linux_Stage
displayName: Test Linux
dependsOn: []
jobs:
- job: Test_Linux_Job
displayName: Test Linux
strategy:
matrix:
DotNet6:
containerName: mcr.microsoft.com/dotnet/sdk:6.0
DotNet7:
containerName: mcr.microsoft.com/dotnet/sdk:7.0
DotNet8:
containerName: mcr.microsoft.com/dotnet/sdk:8.0
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-ubuntu-2004-open
container: $[ variables['containerName'] ]
steps:
- template: azure-pipelines/test.yml
parameters:
# Prefer the dotnet from the container.
installDotNet: false
installAdditionalLinuxDependencies: true
- stage: Test_Windows_Stage
displayName: Test Windows
dependsOn: []
jobs:
- job: Test_Windows_Job
displayName: Test Windows
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-windows-2022-open
steps:
- template: azure-pipelines/test.yml
parameters:
installDotNet: true
- stage: Test_MacOS_Stage
displayName: Test MacOS
dependsOn: []
jobs:
- job: Test_MacOS_Job
displayName: Test MacOS
pool:
name: Azure Pipelines
vmImage: macOS-13
steps:
- template: azure-pipelines/test.yml
parameters:
installDotNet: true
- stage: Test_OmniSharp
displayName: Test OmniSharp
dependsOn: []
jobs:
- job: Test
strategy:
matrix:
linux:
demandsName: 1es-ubuntu-2004-open
windows:
demandsName: 1es-windows-2022-open
pool:
name: NetCore-Public
demands: ImageOverride -equals $(demandsName)
steps:
- template: azure-pipelines/test-omnisharp.yml