]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
[CI] Install Windows 11 SDK 10.0.22621 for 32-bit ARM.
authorMika Lindqvist <postmaster@raasu.org>
Sat, 6 Sep 2025 16:59:46 +0000 (19:59 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 9 Sep 2025 12:33:25 +0000 (14:33 +0200)
.github/workflows/cmake.yml

index 5aa1c9dbd3295c462d65974cfa1dac54f170f937..3037d12114dc4ebe7f39a293f4471fc48ddccad1 100644 (file)
@@ -712,6 +712,15 @@ jobs:
         $process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
         $process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
 
+    - name: Install Windows 11 SDK (ARM)
+      if: contains(matrix.name, 'MSVC ARM ')
+      run: |
+        # Windows 11 SDK (10.0.22621.2428)
+        # https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/index-legacy
+        Invoke-WebRequest -Method Get -Uri https://go.microsoft.com/fwlink/p/?LinkId=2250105 -OutFile sdksetup.exe -UseBasicParsing
+        Unblock-File sdksetup.exe
+        Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/ceip off"
+
     - name: Install packages (macOS)
       if: runner.os == 'macOS'
       run: brew install ninja ${{ matrix.packages }}