mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 15:35:20 +01:00
ci: fix build (#259996)
This commit is contained in:
@@ -276,12 +276,12 @@ steps:
|
||||
- powershell: |
|
||||
. build/azure-pipelines/win32/exec.ps1
|
||||
$ErrorActionPreference = "Stop"
|
||||
mkdir -Force .build/codesign-cpuprofile
|
||||
mkdir -Force .build/node-cpuprofile
|
||||
exec { npx deemon --detach --wait -- -- npx zx build/azure-pipelines/win32/codesign.js }
|
||||
env:
|
||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
||||
NODE_DEBUG: "net,child_process"
|
||||
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/codesign-cpuprofile"
|
||||
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/node-cpuprofile"
|
||||
displayName: ✍️ Codesign
|
||||
|
||||
- ${{ if or(eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true), eq(parameters.VSCODE_RUN_BROWSER_TESTS, true), eq(parameters.VSCODE_RUN_REMOTE_TESTS, true)) }}:
|
||||
@@ -306,7 +306,7 @@ steps:
|
||||
condition: succeededOrFailed()
|
||||
env:
|
||||
NODE_DEBUG: "net,child_process"
|
||||
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/codesign-cpuprofile"
|
||||
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/node-cpuprofile"
|
||||
displayName: "✍️ Post-job: Codesign"
|
||||
|
||||
- powershell: |
|
||||
@@ -340,8 +340,8 @@ steps:
|
||||
|
||||
- task: 1ES.PublishPipelineArtifact@1
|
||||
inputs:
|
||||
targetPath: .build/codesign-cpuprofile
|
||||
artifactName: node-cpuprofile
|
||||
targetPath: .build/node-cpuprofile
|
||||
artifactName: node-cpuprofile-$(VSCODE_ARCH)
|
||||
sbomEnabled: false
|
||||
displayName: Publish Codesign cpu profile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user