]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: exclude `diffutils` for 32-bit builds
authorViktor Szakats <commit@vsz.me>
Wed, 1 Jul 2026 15:14:12 +0000 (17:14 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 1 Jul 2026 15:18:36 +0000 (17:18 +0200)
It's not longer offered by MSYS2.

Bug: https://github.com/curl/curl/pull/22239#issuecomment-4856772868
Ref: https://github.com/msys2/MINGW-packages/commit/b13c6d3af1dde801a7d2e16e6daa7e4b5a21cc36
Ref: c4e776cafa22533fe8a6113a39f6a9f624e8c467 #17103

Closes #22242

.github/workflows/windows.yml

index 4bf2ff5c4ac31f981b5601946486a4170b99444a..0e593d043bd64c3b5d8e69c5b199d2899f4d3d54 100644 (file)
@@ -344,7 +344,7 @@ jobs:
           install: >-
             mingw-w64-${{ matrix.env }}-cc
             mingw-w64-${{ matrix.env }}-${{ matrix.build }} ${{ matrix.build == 'autotools' && 'make' || '' }}
-            mingw-w64-${{ matrix.env }}-diffutils
+            ${{ matrix.sys != 'mingw32' && format('mingw-w64-{0}-diffutils', matrix.env) || '' }}
             mingw-w64-${{ matrix.env }}-libpsl
             ${{ matrix.install }}