Skip to content

Commit 04880ca

Browse files
electron-roller[bot]patchup[bot]jkleinsccodebytere
authored andcommitted
chore: bump node to v16.5.0 (main) (electron#30031)
* chore: bump node in DEPS to v16.4.2 * chore: update patches * ci: run main and remote woa tests separately * chore: bump node in DEPS to v16.5.0 * build: restore libplatform headers in distribution nodejs/node#39288 * build: pass directory instead of list of files to js2c.py nodejs/node#39069 * chore: various BoringSSL/OpenSSL upstreams - nodejs/node#39136 - nodejs/node#39138 - nodejs/node#39054 * test: move debugger test case to parallel nodejs/node#39300 * chore: fixup patch indices * build: pass directory instead of list of files to js2c.py nodejs/node#39069 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <[email protected]> Co-authored-by: Shelley Vohr <[email protected]>
1 parent afc95c6 commit 04880ca

18 files changed

+356
-350
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vars = {
1717
'chromium_version':
1818
'93.0.4566.0',
1919
'node_version':
20-
'v16.4.1',
20+
'v16.5.0',
2121
'nan_version':
2222
# The following commit hash of NAN is v2.14.2 with *only* changes to the
2323
# test suite. This should be updated to a specific tag when one becomes

azure-pipelines-woa.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ steps:
5353
env:
5454
APPVEYOR_TOKEN: $(APPVEYOR_TOKEN)
5555

56+
- powershell: |
57+
$localArtifactPath = "$pwd\src\pdb.zip"
58+
$serverArtifactPath = "$env:APPVEYOR_URL/buildjobs/$env:APPVEYOR_JOB_ID/artifacts/pdb.zip"
59+
Invoke-RestMethod -Method Get -Uri $serverArtifactPath -OutFile $localArtifactPath -Headers @{ "Authorization" = "Bearer $env:APPVEYOR_TOKEN" }
60+
cd src
61+
& "${env:ProgramFiles(x86)}\7-Zip\7z.exe" x -y pdb.zip
62+
displayName: 'Download pdb files for detailed stacktraces'
63+
env:
64+
APPVEYOR_TOKEN: $(APPVEYOR_TOKEN)
65+
5666
- powershell: |
5767
New-Item src\out\Default\gen\node_headers\Release -Type directory
5868
Copy-Item -path src\out\Default\electron.lib -destination src\out\Default\gen\node_headers\Release\node.lib
@@ -63,15 +73,30 @@ steps:
6373
set npm_config_nodedir=%cd%\out\Default\gen\node_headers
6474
set npm_config_arch=arm64
6575
cd electron
66-
# CalculateNativeWinOcclusion is disabled due to https://bugs.chromium.org/p/chromium/issues/detail?id=1139022
67-
node script/yarn test -- --enable-logging --verbose --disable-features=CalculateNativeWinOcclusion
68-
displayName: 'Run Electron tests'
76+
node script/yarn test --runners=main --runTestFilesSeperately --enable-logging --disable-features=CalculateNativeWinOcclusion
77+
displayName: 'Run Electron Main process tests'
78+
env:
79+
ELECTRON_ENABLE_STACK_DUMPING: true
80+
ELECTRON_OUT_DIR: Default
81+
IGNORE_YARN_INSTALL_ERROR: 1
82+
ELECTRON_TEST_RESULTS_DIR: junit
83+
MOCHA_MULTI_REPORTERS: 'mocha-junit-reporter, tap'
84+
MOCHA_REPORTER: mocha-multi-reporters
85+
86+
- script: |
87+
cd src
88+
set npm_config_nodedir=%cd%\out\Default\gen\node_headers
89+
set npm_config_arch=arm64
90+
cd electron
91+
node script/yarn test --runners=remote --enable-logging --disable-features=CalculateNativeWinOcclusion
92+
displayName: 'Run Electron Remote based tests'
6993
env:
7094
ELECTRON_OUT_DIR: Default
7195
IGNORE_YARN_INSTALL_ERROR: 1
7296
ELECTRON_TEST_RESULTS_DIR: junit
7397
MOCHA_MULTI_REPORTERS: 'mocha-junit-reporter, tap'
7498
MOCHA_REPORTER: mocha-multi-reporters
99+
condition: always()
75100

76101
- task: PublishTestResults@2
77102
displayName: 'Publish Test Results'

0 commit comments

Comments
 (0)