Path: blob/main/build/azure-pipelines/darwin/product-build-darwin-ci.yml
4772 views
parameters:1- name: VSCODE_CIBUILD2type: boolean3- name: VSCODE_TEST_SUITE4type: string56jobs:7- job: macOS${{ parameters.VSCODE_TEST_SUITE }}8displayName: ${{ parameters.VSCODE_TEST_SUITE }} Tests9timeoutInMinutes: 3010variables:11VSCODE_ARCH: arm6412templateContext:13outputs:14- output: pipelineArtifact15targetPath: $(Build.SourcesDirectory)/.build/crashes16artifactName: crash-dump-macos-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)17displayName: Publish Crash Reports18sbomEnabled: false19isProduction: false20condition: failed()21- output: pipelineArtifact22targetPath: $(Build.SourcesDirectory)/node_modules23artifactName: node-modules-macos-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)24displayName: Publish Node Modules25sbomEnabled: false26isProduction: false27condition: failed()28- output: pipelineArtifact29targetPath: $(Build.SourcesDirectory)/.build/logs30artifactName: logs-macos-$(VSCODE_ARCH)-${{ lower(parameters.VSCODE_TEST_SUITE) }}-$(System.JobAttempt)31displayName: Publish Log Files32sbomEnabled: false33isProduction: false34condition: succeededOrFailed()35steps:36- template: ./steps/product-build-darwin-compile.yml@self37parameters:38VSCODE_ARCH: arm6439VSCODE_CIBUILD: ${{ parameters.VSCODE_CIBUILD }}40${{ if eq(parameters.VSCODE_TEST_SUITE, 'Electron') }}:41VSCODE_RUN_ELECTRON_TESTS: true42${{ if eq(parameters.VSCODE_TEST_SUITE, 'Browser') }}:43VSCODE_RUN_BROWSER_TESTS: true44${{ if eq(parameters.VSCODE_TEST_SUITE, 'Remote') }}:45VSCODE_RUN_REMOTE_TESTS: true464748