Path: blob/main/build/azure-pipelines/win32/product-build-win32.yml
3520 views
parameters:1- name: VSCODE_ARCH2type: string3- name: VSCODE_CIBUILD4type: boolean5- name: VSCODE_QUALITY6type: string7- name: VSCODE_RUN_ELECTRON_TESTS8type: boolean9default: false10- name: VSCODE_RUN_BROWSER_TESTS11type: boolean12default: false13- name: VSCODE_RUN_REMOTE_TESTS14type: boolean15default: false1617jobs:18- job: Windows_${{ parameters.VSCODE_ARCH }}19displayName: Windows${{ upper(parameters.VSCODE_ARCH) }}20timeoutInMinutes: 9021variables:22VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}23templateContext:24outputParentDirectory: $(Build.SourcesDirectory)/.build/win32-$(VSCODE_ARCH)25outputs:26- ${{ if or(eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true), eq(parameters.VSCODE_RUN_BROWSER_TESTS, true), eq(parameters.VSCODE_RUN_REMOTE_TESTS, true)) }}:27- output: pipelineArtifact28targetPath: .build/crashes29artifactName: crash-dump-windows-$(VSCODE_ARCH)-$(System.JobAttempt)30displayName: Publish Crash Reports31sbomEnabled: false32isProduction: false33condition: failed()34- output: pipelineArtifact35targetPath: node_modules36artifactName: node-modules-windows-$(VSCODE_ARCH)-$(System.JobAttempt)37displayName: Publish Node Modules38sbomEnabled: false39isProduction: false40condition: failed()41- output: pipelineArtifact42targetPath: .build/logs43artifactName: logs-windows-$(VSCODE_ARCH)-$(System.JobAttempt)44displayName: Publish Log Files45sbomEnabled: false46isProduction: false47condition: succeededOrFailed()48- output: pipelineArtifact49targetPath: .build/node-cpuprofile50artifactName: $(ARTIFACT_PREFIX)node-cpuprofile-$(VSCODE_ARCH)51displayName: Publish Codesign cpu profile52sbomEnabled: false53isProduction: false54- output: pipelineArtifact55targetPath: $(SYSTEM_SETUP_PATH)56artifactName: $(ARTIFACT_PREFIX)vscode_client_win32_$(VSCODE_ARCH)_setup57displayName: Publish system setup58sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)59sbomPackageName: "VS Code Windows $(VSCODE_ARCH) System Setup"60sbomPackageVersion: $(Build.SourceVersion)61condition: and(succeededOrFailed(), ne(variables['SYSTEM_SETUP_PATH'], ''))62- output: pipelineArtifact63targetPath: $(USER_SETUP_PATH)64artifactName: $(ARTIFACT_PREFIX)vscode_client_win32_$(VSCODE_ARCH)_user-setup65displayName: Publish user setup66sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)67sbomPackageName: "VS Code Windows $(VSCODE_ARCH) User Setup"68sbomPackageVersion: $(Build.SourceVersion)69condition: and(succeededOrFailed(), ne(variables['USER_SETUP_PATH'], ''))70- output: pipelineArtifact71targetPath: $(CLIENT_PATH)72artifactName: $(ARTIFACT_PREFIX)vscode_client_win32_$(VSCODE_ARCH)_archive73displayName: Publish archive74sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)75sbomPackageName: "VS Code Windows $(VSCODE_ARCH)"76sbomPackageVersion: $(Build.SourceVersion)77condition: and(succeededOrFailed(), ne(variables['CLIENT_PATH'], ''))78- output: pipelineArtifact79targetPath: $(SERVER_PATH)80artifactName: $(ARTIFACT_PREFIX)vscode_server_win32_$(VSCODE_ARCH)_archive81displayName: Publish server archive82sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH)83sbomPackageName: "VS Code Windows $(VSCODE_ARCH) Server"84sbomPackageVersion: $(Build.SourceVersion)85condition: and(succeededOrFailed(), ne(variables['SERVER_PATH'], ''))86- output: pipelineArtifact87targetPath: $(WEB_PATH)88artifactName: $(ARTIFACT_PREFIX)vscode_web_win32_$(VSCODE_ARCH)_archive89displayName: Publish web server archive90sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH)-web91sbomPackageName: "VS Code Windows $(VSCODE_ARCH) Web"92sbomPackageVersion: $(Build.SourceVersion)93condition: and(succeededOrFailed(), ne(variables['WEB_PATH'], ''))94steps:95- template: product-build-win32-compile.yml@self96parameters:97VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}98VSCODE_CIBUILD: ${{ parameters.VSCODE_CIBUILD }}99VSCODE_QUALITY: ${{ parameters.VSCODE_QUALITY }}100VSCODE_RUN_ELECTRON_TESTS: ${{ parameters.VSCODE_RUN_ELECTRON_TESTS }}101VSCODE_RUN_BROWSER_TESTS: ${{ parameters.VSCODE_RUN_BROWSER_TESTS }}102VSCODE_RUN_REMOTE_TESTS: ${{ parameters.VSCODE_RUN_REMOTE_TESTS }}103104105