Skip to content

Commit

Permalink
CI: install ninja on windows
Browse files Browse the repository at this point in the history
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 actions/runner-images#8343 for more
details.
  • Loading branch information
andrewrk committed Jan 29, 2024
1 parent bab328d commit aeb8666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/x86_64-windows-debug.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions ci/x86_64-windows-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit aeb8666

Please sign in to comment.