Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/build/azure-pipelines/linux/product-build-linux-ci.yml
4772 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: Linux${{ parameters.VSCODE_TEST_SUITE }}
11
displayName: ${{ parameters.VSCODE_TEST_SUITE }} Tests
12
timeoutInMinutes: 30
13
variables:
14
DISPLAY: ":10"
15
NPM_ARCH: x64
16
VSCODE_ARCH: x64
17
templateContext:
18
outputs:
19
- output: pipelineArtifact
20
targetPath: $(Build.SourcesDirectory)/.build/crashes
21
artifactName: crash-dump-linux-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
22
displayName: Publish Crash Reports
23
sbomEnabled: false
24
isProduction: false
25
condition: failed()
26
- output: pipelineArtifact
27
targetPath: $(Build.SourcesDirectory)/node_modules
28
artifactName: node-modules-linux-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
29
displayName: Publish Node Modules
30
sbomEnabled: false
31
isProduction: false
32
condition: failed()
33
- output: pipelineArtifact
34
targetPath: $(Build.SourcesDirectory)/.build/logs
35
artifactName: logs-linux-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)
36
displayName: Publish Log Files
37
sbomEnabled: false
38
isProduction: false
39
condition: succeededOrFailed()
40
steps:
41
- template: ./steps/product-build-linux-compile.yml@self
42
parameters:
43
VSCODE_ARCH: x64
44
VSCODE_CIBUILD: ${{ parameters.VSCODE_CIBUILD }}
45
VSCODE_QUALITY: ${{ parameters.VSCODE_QUALITY }}
46
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Electron') }}:
47
VSCODE_RUN_ELECTRON_TESTS: true
48
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Browser') }}:
49
VSCODE_RUN_BROWSER_TESTS: true
50
${{ if eq(parameters.VSCODE_TEST_SUITE, 'Remote') }}:
51
VSCODE_RUN_REMOTE_TESTS: true
52
53