Use local Windows toolchain for ANGLE
This commit is contained in:
1 parent
f6f7277efa
commit
f12a124c52
2 files changed
+5
No files matched your search
@@ -82,6 +82,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RID: ${{ matrix.rid }}
|
RID: ${{ matrix.rid }}
|
||||||
TARGET_CPU: ${{ matrix.target_cpu }}
|
TARGET_CPU: ${{ matrix.target_cpu }}
|
||||||
|
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
|
||||||
run: .\scripts\build-windows-static-graphics.ps1 all
|
run: .\scripts\build-windows-static-graphics.ps1 all
|
||||||
|
|
||||||
- name: Upload Windows static archives
|
- name: Upload Windows static archives
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ $BuildJobs = if ($env:BUILD_JOBS) { $env:BUILD_JOBS } else { [Environment]::Proc
|
|||||||
$AnglePatchDir = if ($env:ANGLE_PATCH_DIR) { $env:ANGLE_PATCH_DIR } else { Join-Path $RootDir "External\NativeStatic\patches" }
|
$AnglePatchDir = if ($env:ANGLE_PATCH_DIR) { $env:ANGLE_PATCH_DIR } else { Join-Path $RootDir "External\NativeStatic\patches" }
|
||||||
$SkiaDepsRetries = if ($env:SKIA_DEPS_RETRIES) { [int]$env:SKIA_DEPS_RETRIES } else { 3 }
|
$SkiaDepsRetries = if ($env:SKIA_DEPS_RETRIES) { [int]$env:SKIA_DEPS_RETRIES } else { 3 }
|
||||||
|
|
||||||
|
if (-not $env:DEPOT_TOOLS_WIN_TOOLCHAIN) {
|
||||||
|
$env:DEPOT_TOOLS_WIN_TOOLCHAIN = "0"
|
||||||
|
}
|
||||||
|
|
||||||
function Require-Command($Name) {
|
function Require-Command($Name) {
|
||||||
if (-not (Get-Command $Name -ErrorAction SilentlyContinue)) {
|
if (-not (Get-Command $Name -ErrorAction SilentlyContinue)) {
|
||||||
throw "Missing required command: $Name"
|
throw "Missing required command: $Name"
|
||||||
|
|||||||
Reference in new issue
Block a user