Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/build/azure-pipelines/win32/product-build-win32-ci.yml
3520 views
1
parameters:
2
- name: VSCODE_CIBUILD
3
type: boolean
4
- name: VSCODE_QUALITY
5
type: string
6
- name: VSCODE_TEST_SUITE
7
type: string
8
9
jobs:
10
- job: Windows${{ parameters.VSCODE_TEST_SUITE }}
11
displayName: ${{ parameters.VSCODE_TEST_SUITE }} Tests
12
timeoutInMinutes: 50
13
variables:
14
VSCODE_ARCH: x64
15
templateContext:
16
outputs:
17
- output: pipelineArtifact
18
targetPath: .build/crashes
19
artifactName: crash-dump-windows-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
20
displayName: Publish Crash Reports
21
sbomEnabled: false
22
isProduction: false
23
condition: failed()
24
- output: pipelineArtifact
25
targetPath: node_modules
26
artifactName: node-modules-windows-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
27
displayName: Publish Node Modules
28
sbomEnabled: false
29
isProduction: false
30
condition: failed()
31
- output: pipelineArtifact
32
targetPath: .build/logs
33
artifactName: logs-windows-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
34
displayName: Publish Log Files
35
sbomEnabled: false
36
isProduction: false
37
condition: succeededOrFailed()
38
steps:
39
- template: product-build-win32-compile.yml@self
40
parameters:
41
VSCODE_ARCH: x64
42
VSCODE_CIBUILD: ${{ parameters.VSCODE_CIBUILD }}
43
VSCODE_QUALITY: ${{ parameters.VSCODE_QUALITY }}
44
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Electron') }}:
45
VSCODE_RUN_ELECTRON_TESTS: true
46
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Browser') }}:
47
VSCODE_RUN_BROWSER_TESTS: true
48
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Remote') }}:
49
VSCODE_RUN_REMOTE_TESTS: true
50
51