Path: blob/main/build/azure-pipelines/win32/product-build-win32.yml
5419 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.ArtifactStagingDirectory)/out25outputs: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.SourcesDirectory)/.build/crashes29artifactName: crash-dump-windows-$(VSCODE_ARCH)-$(System.JobAttempt)30displayName: Publish Crash Reports31sbomEnabled: false32isProduction: false33condition: failed()34- output: pipelineArtifact35targetPath: $(Build.SourcesDirectory)/node_modules36artifactName: node-modules-windows-$(VSCODE_ARCH)-$(System.JobAttempt)37displayName: Publish Node Modules38sbomEnabled: false39isProduction: false40condition: failed()41- output: pipelineArtifact42targetPath: $(Build.SourcesDirectory)/.build/logs43artifactName: logs-windows-$(VSCODE_ARCH)-$(System.JobAttempt)44displayName: Publish Log Files45sbomEnabled: false46isProduction: false47condition: succeededOrFailed()48- output: pipelineArtifact49targetPath: $(Build.ArtifactStagingDirectory)/out/system-setup/VSCodeSetup-$(VSCODE_ARCH)-$(VSCODE_VERSION).exe50artifactName: vscode_client_win32_$(VSCODE_ARCH)_setup51displayName: Publish system setup52sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)53sbomPackageName: "VS Code Windows $(VSCODE_ARCH) System Setup"54sbomPackageVersion: $(Build.SourceVersion)55- output: pipelineArtifact56targetPath: $(Build.ArtifactStagingDirectory)/out/user-setup/VSCodeUserSetup-$(VSCODE_ARCH)-$(VSCODE_VERSION).exe57artifactName: vscode_client_win32_$(VSCODE_ARCH)_user-setup58displayName: Publish user setup59sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)60sbomPackageName: "VS Code Windows $(VSCODE_ARCH) User Setup"61sbomPackageVersion: $(Build.SourceVersion)62- output: pipelineArtifact63targetPath: $(Build.ArtifactStagingDirectory)/out/archive/VSCode-win32-$(VSCODE_ARCH)-$(VSCODE_VERSION).zip64artifactName: vscode_client_win32_$(VSCODE_ARCH)_archive65displayName: Publish archive66sbomBuildDropPath: $(Agent.BuildDirectory)/VSCode-win32-$(VSCODE_ARCH)67sbomPackageName: "VS Code Windows $(VSCODE_ARCH)"68sbomPackageVersion: $(Build.SourceVersion)69- output: pipelineArtifact70targetPath: $(Build.ArtifactStagingDirectory)/out/server/vscode-server-win32-$(VSCODE_ARCH).zip71artifactName: vscode_server_win32_$(VSCODE_ARCH)_archive72displayName: Publish server archive73sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH)74sbomPackageName: "VS Code Windows $(VSCODE_ARCH) Server"75sbomPackageVersion: $(Build.SourceVersion)76- output: pipelineArtifact77targetPath: $(Build.ArtifactStagingDirectory)/out/web/vscode-server-win32-$(VSCODE_ARCH)-web.zip78artifactName: vscode_web_win32_$(VSCODE_ARCH)_archive79displayName: Publish web server archive80sbomBuildDropPath: $(Agent.BuildDirectory)/vscode-server-win32-$(VSCODE_ARCH)-web81sbomPackageName: "VS Code Windows $(VSCODE_ARCH) Web"82sbomPackageVersion: $(Build.SourceVersion)83sdl:84suppression:85suppressionFile: $(Build.SourcesDirectory)\.config\guardian\.gdnsuppress86steps:87- template: ./steps/product-build-win32-compile.yml@self88parameters:89VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}90VSCODE_CIBUILD: ${{ parameters.VSCODE_CIBUILD }}91VSCODE_QUALITY: ${{ parameters.VSCODE_QUALITY }}92VSCODE_RUN_ELECTRON_TESTS: ${{ parameters.VSCODE_RUN_ELECTRON_TESTS }}93VSCODE_RUN_BROWSER_TESTS: ${{ parameters.VSCODE_RUN_BROWSER_TESTS }}94VSCODE_RUN_REMOTE_TESTS: ${{ parameters.VSCODE_RUN_REMOTE_TESTS }}959697