forked from dotnet/vscode-csharp
-
Notifications
You must be signed in to change notification settings - Fork 17
/
azure-pipelines.yml
92 lines (85 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
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
signType: test
- stage:
displayName: Test Linux (.NET 6)
dependsOn: []
jobs:
- template: azure-pipelines/test-matrix.yml
parameters:
# Prefer the dotnet from the container.
installDotNet: false
installAdditionalLinuxDependencies: true
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-ubuntu-2004-open
containerName: mcr.microsoft.com/dotnet/sdk:6.0
- stage:
displayName: Test Linux (.NET 8)
dependsOn: []
jobs:
- template: azure-pipelines/test-matrix.yml
parameters:
# Prefer the dotnet from the container.
installDotNet: false
installAdditionalLinuxDependencies: true
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-ubuntu-2004-open
containerName: mcr.microsoft.com/dotnet/sdk:8.0
- stage: Test_Windows_Stage
displayName: Test Windows
dependsOn: []
jobs:
- template: azure-pipelines/test-matrix.yml
parameters:
installDotNet: true
pool:
name: NetCore-Public
demands: ImageOverride -equals 1es-windows-2022-open
- stage: Test_MacOS_Stage
displayName: Test MacOS
dependsOn: []
jobs:
- template: azure-pipelines/test-matrix.yml
parameters:
installDotNet: true
pool:
name: Azure Pipelines
vmImage: macOS-13
- 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