build: use node 20.17 on Windows (#44065)
* build: rebake image * build: use e-131.0.6734.0-node-20.17-0 * build: bump msvs version to 2022
This commit is contained in:
parent
59a43ef2e3
commit
93dd9fc17b
5 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ build_script:
|
||||||
- ps: $env:PATH="$pwd\depot_tools;$env:PATH"
|
- ps: $env:PATH="$pwd\depot_tools;$env:PATH"
|
||||||
- update_depot_tools.bat
|
- update_depot_tools.bat
|
||||||
# Uncomment the following line if windows deps change
|
# Uncomment the following line if windows deps change
|
||||||
# - src\electron\script\setup-win-for-dev.bat
|
- src\electron\script\setup-win-for-dev.bat
|
||||||
- >-
|
- >-
|
||||||
gclient config
|
gclient config
|
||||||
--name "src\electron"
|
--name "src\electron"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
build_cloud: electronhq-16-core
|
build_cloud: electronhq-16-core
|
||||||
image: e-131.0.6734.0-node-20.17-1
|
image: e-131.0.6734.0-node-20.17-0
|
||||||
environment:
|
environment:
|
||||||
GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
|
GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
|
||||||
ELECTRON_OUT_DIR: Default
|
ELECTRON_OUT_DIR: Default
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
version: 1.0.{build}
|
version: 1.0.{build}
|
||||||
build_cloud: electronhq-16-core
|
build_cloud: electronhq-16-core
|
||||||
image: e-131.0.6734.0-node-20.17-1
|
image: e-131.0.6734.0-node-20.17-0
|
||||||
environment:
|
environment:
|
||||||
GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
|
GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
|
||||||
ELECTRON_OUT_DIR: Default
|
ELECTRON_OUT_DIR: Default
|
||||||
|
|
|
@ -31,7 +31,7 @@ async function main () {
|
||||||
const env = {
|
const env = {
|
||||||
...process.env,
|
...process.env,
|
||||||
npm_config_nodedir: nodeDir,
|
npm_config_nodedir: nodeDir,
|
||||||
npm_config_msvs_version: '2019',
|
npm_config_msvs_version: '2022',
|
||||||
npm_config_arch: process.env.NPM_CONFIG_ARCH,
|
npm_config_arch: process.env.NPM_CONFIG_ARCH,
|
||||||
npm_config_yes: 'true'
|
npm_config_yes: 'true'
|
||||||
};
|
};
|
||||||
|
|
|
@ -189,7 +189,7 @@ async function installSpecModules (dir) {
|
||||||
const env = {
|
const env = {
|
||||||
...process.env,
|
...process.env,
|
||||||
CXXFLAGS: process.env.CXXFLAGS,
|
CXXFLAGS: process.env.CXXFLAGS,
|
||||||
npm_config_msvs_version: '2019',
|
npm_config_msvs_version: '2022',
|
||||||
npm_config_yes: 'true'
|
npm_config_yes: 'true'
|
||||||
};
|
};
|
||||||
if (args.electronVersion) {
|
if (args.electronVersion) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue