From: Viktor Szakats Date: Wed, 5 Mar 2025 11:56:40 +0000 (+0100) Subject: GHA/windows: always install diffutils for MSYS/mingw, required by `runtests` X-Git-Tag: curl-8_13_0~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6c78e18dac1da2027eac6dd3829a0fdbfa55501;p=thirdparty%2Fcurl.git GHA/windows: always install diffutils for MSYS/mingw, required by `runtests` To include the expected/generated diffs in the error log. Also make it explicit for pure MSYS, though it was installed by `gcc` before this patch. Closes #16571 --- diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f4444f66b6..8bc97142c6 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -200,6 +200,7 @@ jobs: install: >- gcc ${{ matrix.build }} ${{ matrix.build == 'autotools' && 'make' || 'ninja' }} + diffutils openssh openssl-devel zlib-devel @@ -207,7 +208,6 @@ jobs: libnghttp2-devel libpsl-devel libssh2-devel - ${{ matrix.chkprefill == '_chkprefill' && 'diffutils' || '' }} - uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2 if: ${{ matrix.sys != 'msys' }} @@ -216,12 +216,12 @@ jobs: install: >- mingw-w64-${{ matrix.env }}-cc mingw-w64-${{ matrix.env }}-${{ matrix.build }} ${{ matrix.build == 'autotools' && 'make' || '' }} + mingw-w64-${{ matrix.env }}-diffutils openssh mingw-w64-${{ matrix.env }}-openssl mingw-w64-${{ matrix.env }}-libssh2 mingw-w64-${{ matrix.env }}-libpsl mingw-w64-${{ matrix.env }}-c-ares - ${{ matrix.chkprefill == '_chkprefill' && format('mingw-w64-{0}-diffutils', matrix.env) || '' }} - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: