forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-integration.yml
131 lines (125 loc) · 3.53 KB
/
azure-pipelines-integration.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
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
# Branches that trigger a build on commit
trigger:
branches:
include:
- main
- main-vs-deps
- release/*
- features/*
- demos/*
exclude:
# Since the version of VS on the integration VM images are a moving target,
# we are unable to reliably run integration tests on servicing branches.
- release/dev17.0-vs-deps
- release/dev17.2
- release/dev17.3
# Branches that trigger builds on PR
pr:
branches:
include:
- main
- main-vs-deps
- release/*
- features/*
- demos/*
exclude:
# Since the version of VS on the integration VM images are a moving target,
# we are unable to reliably run integration tests on servicing branches.
- release/dev17.0-vs-deps
- release/dev17.2
- release/dev17.3
paths:
exclude:
- docs/*
- eng/config/OptProf.json
- eng/config/PublishData.json
- .vscode/*
- .github/*
- .devcontainer/*
- .git-blame-ignore-revs
- .vsconfig
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- README.md
- src/Compilers/*
- src/Features/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/README.md
parameters:
- name: poolName
displayName: Pool Name
type: string
default: NetCore-Public
values:
- NetCore-Public
- NetCore-Svc-Public
- name: queueName
displayName: Queue Name
type: string
default: windows.vs2022preview.amd64.open
values:
- windows.vs2022.amd64.open
- windows.vs2022.scout.amd64.open
- windows.vs2022preview.amd64.open
- windows.vs2022preview.scout.amd64.open
- name: timeout
displayName: Timeout in Minutes
type: number
default: 150
stages:
- stage: Debug_Integration
dependsOn: []
variables:
- name: XUNIT_LOGS
value: $(Build.SourcesDirectory)\artifacts\log\Debug
jobs:
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- job: VS_Integration_Debug_32
pool:
name: ${{ parameters.poolName }}
demands: ImageOverride -equals ${{ parameters.queueName }}
timeoutInMinutes: ${{ parameters.timeout }}
steps:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: Debug
oop64bit: false
lspEditor: false
- job: VS_Integration_Debug_64
pool:
name: ${{ parameters.poolName }}
demands: ImageOverride -equals ${{ parameters.queueName }}
timeoutInMinutes: ${{ parameters.timeout }}
steps:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: Debug
oop64bit: true
lspEditor: false
- stage: Release_Integration
dependsOn: []
variables:
- name: XUNIT_LOGS
value: $(Build.SourcesDirectory)\artifacts\log\Release
jobs:
- job: VS_Integration_Release_32
pool:
name: ${{ parameters.poolName }}
demands: ImageOverride -equals ${{ parameters.queueName }}
timeoutInMinutes: ${{ parameters.timeout }}
steps:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: Release
oop64bit: false
lspEditor: false
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- job: VS_Integration_Release_64
pool:
name: ${{ parameters.poolName }}
demands: ImageOverride -equals ${{ parameters.queueName }}
timeoutInMinutes: ${{ parameters.timeout }}
steps:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: Release
oop64bit: true
lspEditor: false