From aeb866687d3bd982c78022de77fc8381b8658e75 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 21 Sep 2023 12:01:18 -0700 Subject: [PATCH] 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. --- ci/x86_64-windows-debug.ps1 | 1 + ci/x86_64-windows-release.ps1 | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/x86_64-windows-debug.ps1 b/ci/x86_64-windows-debug.ps1 index cf303a17b3f71583a8a6fb63e531b7008f46b6a2..782b916b74f1730f12c1a4aae8afbdddd7c39807 100644 --- a/ci/x86_64-windows-debug.ps1 +++ b/ci/x86_64-windows-debug.ps1 @@ -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" diff --git a/ci/x86_64-windows-release.ps1 b/ci/x86_64-windows-release.ps1 index da0353836a66d25328e083ba2f0b3524bbdb322d..847019d532772c2421428c46eb35ed4fbf69f5c7 100644 --- a/ci/x86_64-windows-release.ps1 +++ b/ci/x86_64-windows-release.ps1 @@ -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" -- 2.54.0