]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: enable MSYS2 `diffutils` on ARM64
authorViktor Szakats <commit@vsz.me>
Sat, 19 Apr 2025 08:31:51 +0000 (10:31 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 20 Apr 2025 11:50:56 +0000 (13:50 +0200)
https://packages.msys2.org/packages/mingw-w64-clang-aarch64-diffutils

Thanks-to: Christoph Reiter
Ref: https://github.com/curl/curl/pull/17067#issuecomment-2816599349

Closes #17103

.github/workflows/windows.yml

index 32afacbcc3492582f7678c1473956c87caf2ac93..5a738fd5a8d477fcf2c988dc9fca2f3e893ccefc 100644 (file)
@@ -227,10 +227,11 @@ jobs:
         if: ${{ matrix.sys != 'msys' }}
         with:
           msystem: ${{ matrix.sys }}
+          update: ${{ matrix.sys == 'clangarm64' }}  # delete this line on next msys2/setup-msys2 bump
           install: >-
             mingw-w64-${{ matrix.env }}-cc
             mingw-w64-${{ matrix.env }}-${{ matrix.build }} ${{ matrix.build == 'autotools' && 'make' || '' }}
-            ${{ matrix.sys != 'clangarm64' && format('mingw-w64-{0}-diffutils', matrix.env) || '' }}
+            mingw-w64-${{ matrix.env }}-diffutils
             mingw-w64-${{ matrix.env }}-libpsl
             mingw-w64-${{ matrix.env }}-c-ares
             ${{ matrix.install }}