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