mirror of
https://github.com/ziglang/zig.git
synced 2024-11-13 23:52:57 +00:00
CI: install ninja on windows
The new CI images provided by GitHub no longer provide ninja.exe, so this commit installs it explicitly, using the suggested method from GitHub. See https://github.com/actions/runner-images/issues/8343 for more details.
This commit is contained in:
parent
bab328d5e8
commit
aeb866687d
@ -6,6 +6,7 @@ $PREFIX_PATH = "$(Get-Location)\$ZIG_LLVM_CLANG_LLD_NAME"
|
||||
$ZIG = "$PREFIX_PATH\bin\zig.exe"
|
||||
$ZIG_LIB_DIR = "$(Get-Location)\lib"
|
||||
|
||||
choco install ninja
|
||||
Write-Output "Downloading $ZIG_LLVM_CLANG_LLD_URL"
|
||||
Invoke-WebRequest -Uri "$ZIG_LLVM_CLANG_LLD_URL" -OutFile "$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
||||
|
||||
|
@ -6,6 +6,7 @@ $PREFIX_PATH = "$(Get-Location)\$ZIG_LLVM_CLANG_LLD_NAME"
|
||||
$ZIG = "$PREFIX_PATH\bin\zig.exe"
|
||||
$ZIG_LIB_DIR = "$(Get-Location)\lib"
|
||||
|
||||
choco install ninja
|
||||
Write-Output "Downloading $ZIG_LLVM_CLANG_LLD_URL"
|
||||
Invoke-WebRequest -Uri "$ZIG_LLVM_CLANG_LLD_URL" -OutFile "$ZIG_LLVM_CLANG_LLD_NAME.zip"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user