ci(windows): require node on runner; add toolchain preflight
build-windows / build-windows-x64 (push) Failing after 1h0m23s
build-windows / build-windows-x64 (push) Failing after 1h0m23s
This commit is contained in:
@@ -47,10 +47,13 @@ if (-not (Get-Command choco -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
|
||||
Write-Host '==> Installing base packages'
|
||||
choco install -y --no-progress git python311 nuget.commandline 7zip cmake ninja
|
||||
# nodejs-lts is required by act_runner to execute JavaScript actions
|
||||
# (actions/checkout, actions/upload-artifact, etc.).
|
||||
choco install -y --no-progress git python311 nuget.commandline 7zip cmake ninja nodejs-lts
|
||||
Add-MachinePath 'C:\Program Files\Git\cmd'
|
||||
Add-MachinePath 'C:\Python311'
|
||||
Add-MachinePath 'C:\Python311\Scripts'
|
||||
Add-MachinePath 'C:\Program Files\nodejs'
|
||||
|
||||
# --- 2. Visual Studio 2022 Build Tools (MSVC v143 + Win10 SDK) ---
|
||||
$vsInstaller = "$env:ProgramFiles(x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
|
||||
Reference in New Issue
Block a user