From 8b28f05fddd60e7464eb1adb44991e840565e348 Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Mon, 2 Dec 2024 15:42:48 +0100 Subject: [PATCH] ci: pin Windows SDK for ARM builds See for example https://github.com/actions/runner-images/issues/10981 --- windows/build.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/windows/build.ps1 b/windows/build.ps1 index abc139e2..ae8a3de4 100644 --- a/windows/build.ps1 +++ b/windows/build.ps1 @@ -77,6 +77,9 @@ if (-Not (Test-Path $GPG)) { # Override CMAKE_SYSTEM_VERSION if $WinSDK is set. if (-Not ([string]::IsNullOrEmpty($WinSDK))) { $CMAKE_SYSTEM_VERSION = "-DCMAKE_SYSTEM_VERSION='$WinSDK'" +} elseif ($Arch -eq "ARM") { + # 10.0.261000.0 appear to have dropped ARM32 support + $CMAKE_SYSTEM_VERSION = "-DCMAKE_SYSTEM_VERSION='10.0.22621.0'" } else { $CMAKE_SYSTEM_VERSION = '' }