Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/build/azure-pipelines/product-sanity-tests.yml
5362 views
1
pr: none
2
3
trigger: none
4
5
parameters:
6
- name: buildQuality
7
displayName: Published Build Quality
8
type: string
9
default: insider
10
values:
11
- exploration
12
- insider
13
- stable
14
15
- name: buildCommit
16
displayName: Published Build Commit
17
type: string
18
default: ''
19
20
- name: npmRegistry
21
displayName: Custom NPM Registry URL
22
type: string
23
default: https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/
24
25
variables:
26
- name: skipComponentGovernanceDetection
27
value: true
28
- name: Codeql.SkipTaskAutoInjection
29
value: true
30
- name: BUILD_COMMIT
31
${{ if ne(parameters.buildCommit, '') }}:
32
value: ${{ parameters.buildCommit }}
33
${{ else }}:
34
value: $(resources.pipeline.vscode.sourceCommit)
35
- name: BUILD_QUALITY
36
${{ if ne(parameters.buildCommit, '') }}:
37
value: ${{ parameters.buildQuality }}
38
${{ elseif startsWith(variables['Build.SourceBranch'], 'refs/heads/release/') }}:
39
value: stable
40
${{ else }}:
41
value: insider
42
- name: NPM_REGISTRY
43
value: ${{ parameters.npmRegistry }}
44
45
name: "$(Date:yyyyMMdd).$(Rev:r) (${{ parameters.buildQuality }} ${{ parameters.buildCommit }})"
46
47
resources:
48
repositories:
49
- repository: 1esPipelines
50
type: git
51
name: 1ESPipelineTemplates/1ESPipelineTemplates
52
ref: refs/tags/release
53
pipelines:
54
- pipeline: vscode
55
# allow-any-unicode-next-line
56
source: '⭐️ VS Code'
57
trigger:
58
stages:
59
- Publish
60
branches:
61
include:
62
- main
63
- release/*
64
65
extends:
66
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
67
parameters:
68
sdl:
69
tsa:
70
enabled: false
71
codeql:
72
compiled:
73
enabled: false
74
justificationForDisabling: Sanity tests only, no code compilation
75
credscan:
76
suppressionsFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/CredScanSuppressions.json
77
eslint:
78
enabled: false
79
sourceAnalysisPool: 1es-windows-2022-x64
80
createAdoIssuesForJustificationsForDisablement: false
81
stages:
82
- stage: sanity_tests
83
displayName: Sanity Tests
84
jobs:
85
# macOS
86
- template: build/azure-pipelines/common/sanity-tests.yml@self
87
parameters:
88
name: macos_x64
89
displayName: MacOS x64 (no runtime)
90
poolName: AcesShared
91
os: macOS
92
args: --no-detection --grep "darwin-x64"
93
94
- template: build/azure-pipelines/common/sanity-tests.yml@self
95
parameters:
96
name: macos_arm64
97
displayName: MacOS arm64
98
poolName: AcesShared
99
os: macOS
100
101
# Windows
102
- template: build/azure-pipelines/common/sanity-tests.yml@self
103
parameters:
104
name: windows_x64
105
displayName: Windows x64
106
poolName: 1es-windows-2022-x64
107
os: windows
108
109
- template: build/azure-pipelines/common/sanity-tests.yml@self
110
parameters:
111
name: windows_arm64
112
displayName: Windows arm64
113
poolName: 1es-windows-2022-arm64
114
os: windows
115
116
# Alpine 3.22
117
- template: build/azure-pipelines/common/sanity-tests.yml@self
118
parameters:
119
name: alpine_amd64
120
displayName: Alpine 3.22 amd64
121
poolName: 1es-ubuntu-22.04-x64
122
container: alpine
123
arch: amd64
124
125
- template: build/azure-pipelines/common/sanity-tests.yml@self
126
parameters:
127
name: alpine_arm64
128
displayName: Alpine 3.22 arm64
129
poolName: 1es-azure-linux-3-arm64
130
container: alpine
131
arch: arm64
132
133
# CentOS Stream 9
134
- template: build/azure-pipelines/common/sanity-tests.yml@self
135
parameters:
136
name: centos_stream9_amd64
137
displayName: CentOS Stream 9 amd64
138
poolName: 1es-ubuntu-22.04-x64
139
container: centos
140
arch: amd64
141
142
- template: build/azure-pipelines/common/sanity-tests.yml@self
143
parameters:
144
name: centos_stream9_arm64
145
displayName: CentOS Stream 9 arm64
146
poolName: 1es-azure-linux-3-arm64
147
container: centos
148
arch: arm64
149
150
# Debian 10
151
- template: build/azure-pipelines/common/sanity-tests.yml@self
152
parameters:
153
name: debian_10_amd64
154
displayName: Debian 10 amd64
155
poolName: 1es-ubuntu-22.04-x64
156
container: debian-10
157
arch: amd64
158
159
- template: build/azure-pipelines/common/sanity-tests.yml@self
160
parameters:
161
name: debian_10_arm32
162
displayName: Debian 10 arm32
163
poolName: 1es-azure-linux-3-arm64
164
container: debian-10
165
arch: arm
166
167
- template: build/azure-pipelines/common/sanity-tests.yml@self
168
parameters:
169
name: debian_10_arm64
170
displayName: Debian 10 arm64
171
poolName: 1es-azure-linux-3-arm64
172
container: debian-10
173
arch: arm64
174
175
# Debian 12
176
- template: build/azure-pipelines/common/sanity-tests.yml@self
177
parameters:
178
name: debian_12_amd64
179
displayName: Debian 12 amd64
180
poolName: 1es-ubuntu-22.04-x64
181
container: debian-12
182
arch: amd64
183
184
- template: build/azure-pipelines/common/sanity-tests.yml@self
185
parameters:
186
name: debian_12_arm32
187
displayName: Debian 12 arm32
188
poolName: 1es-azure-linux-3-arm64
189
container: debian-12
190
arch: arm
191
192
- template: build/azure-pipelines/common/sanity-tests.yml@self
193
parameters:
194
name: debian_12_arm64
195
displayName: Debian 12 arm64
196
poolName: 1es-azure-linux-3-arm64
197
container: debian-12
198
arch: arm64
199
200
# Fedora 36
201
- template: build/azure-pipelines/common/sanity-tests.yml@self
202
parameters:
203
name: fedora_36_amd64
204
displayName: Fedora 36 amd64
205
poolName: 1es-ubuntu-22.04-x64
206
container: fedora
207
baseImage: fedora:36
208
arch: amd64
209
210
- template: build/azure-pipelines/common/sanity-tests.yml@self
211
parameters:
212
name: fedora_36_arm64
213
displayName: Fedora 36 arm64
214
poolName: 1es-azure-linux-3-arm64
215
container: fedora
216
baseImage: fedora:36
217
arch: arm64
218
219
# Fedora 40
220
- template: build/azure-pipelines/common/sanity-tests.yml@self
221
parameters:
222
name: fedora_40_amd64
223
displayName: Fedora 40 amd64
224
poolName: 1es-ubuntu-22.04-x64
225
container: fedora
226
baseImage: fedora:40
227
arch: amd64
228
229
- template: build/azure-pipelines/common/sanity-tests.yml@self
230
parameters:
231
name: fedora_40_arm64
232
displayName: Fedora 40 arm64
233
poolName: 1es-azure-linux-3-arm64
234
container: fedora
235
baseImage: fedora:40
236
arch: arm64
237
238
# openSUSE Leap 16.0
239
- template: build/azure-pipelines/common/sanity-tests.yml@self
240
parameters:
241
name: opensuse_leap_amd64
242
displayName: openSUSE Leap 16.0 amd64
243
poolName: 1es-ubuntu-22.04-x64
244
container: opensuse
245
arch: amd64
246
247
- template: build/azure-pipelines/common/sanity-tests.yml@self
248
parameters:
249
name: opensuse_leap_arm64
250
displayName: openSUSE Leap 16.0 arm64
251
poolName: 1es-azure-linux-3-arm64
252
container: opensuse
253
arch: arm64
254
255
# Red Hat UBI 9
256
- template: build/azure-pipelines/common/sanity-tests.yml@self
257
parameters:
258
name: redhat_ubi9_amd64
259
displayName: Red Hat UBI 9 amd64
260
poolName: 1es-ubuntu-22.04-x64
261
container: redhat
262
arch: amd64
263
264
- template: build/azure-pipelines/common/sanity-tests.yml@self
265
parameters:
266
name: redhat_ubi9_arm64
267
displayName: Red Hat UBI 9 arm64
268
poolName: 1es-azure-linux-3-arm64
269
container: redhat
270
arch: arm64
271
272
# Ubuntu 22.04 Native (Snap coverage)
273
- template: build/azure-pipelines/common/sanity-tests.yml@self
274
parameters:
275
name: ubuntu_native_x64
276
displayName: Ubuntu 22.04 x64 Native
277
poolName: 1es-ubuntu-22.04-x64
278
os: linux
279
280
# Ubuntu 22.04
281
- template: build/azure-pipelines/common/sanity-tests.yml@self
282
parameters:
283
name: ubuntu_22_04_amd64
284
displayName: Ubuntu 22.04 amd64
285
poolName: 1es-ubuntu-22.04-x64
286
container: ubuntu
287
baseImage: ubuntu:22.04
288
arch: amd64
289
290
- template: build/azure-pipelines/common/sanity-tests.yml@self
291
parameters:
292
name: ubuntu_22_04_arm32
293
displayName: Ubuntu 22.04 arm32
294
poolName: 1es-azure-linux-3-arm64
295
container: ubuntu
296
baseImage: ubuntu:22.04
297
arch: arm
298
299
- template: build/azure-pipelines/common/sanity-tests.yml@self
300
parameters:
301
name: ubuntu_22_04_arm64
302
displayName: Ubuntu 22.04 arm64
303
poolName: 1es-azure-linux-3-arm64
304
container: ubuntu
305
baseImage: ubuntu:22.04
306
arch: arm64
307
308
# Ubuntu 24.04
309
- template: build/azure-pipelines/common/sanity-tests.yml@self
310
parameters:
311
name: ubuntu_24_04_amd64
312
displayName: Ubuntu 24.04 amd64
313
poolName: 1es-ubuntu-22.04-x64
314
container: ubuntu
315
baseImage: ubuntu:24.04
316
arch: amd64
317
318
- template: build/azure-pipelines/common/sanity-tests.yml@self
319
parameters:
320
name: ubuntu_24_04_arm32
321
displayName: Ubuntu 24.04 arm32
322
poolName: 1es-azure-linux-3-arm64
323
container: ubuntu
324
baseImage: ubuntu:24.04
325
arch: arm
326
327
- template: build/azure-pipelines/common/sanity-tests.yml@self
328
parameters:
329
name: ubuntu_24_04_arm64
330
displayName: Ubuntu 24.04 arm64
331
poolName: 1es-azure-linux-3-arm64
332
container: ubuntu
333
baseImage: ubuntu:24.04
334
arch: arm64
335
336
- template: build/azure-pipelines/common/sanity-tests.yml@self
337
parameters:
338
name: ubuntu_24_04_arm64_64k
339
displayName: Ubuntu 24.04 arm64 (64K page)
340
poolName: 1es-ubuntu-22.04-x64
341
container: ubuntu
342
baseImage: ubuntu:24.04
343
arch: arm64
344
pageSize: 64k
345
args: --grep "desktop-linux-arm64"
346
347