From 1a2d38c47c7825ad4d993d10664a45be3e3bbb58 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 29 Oct 2024 01:41:32 +0100 Subject: [PATCH] GHA/windows: avoid curl.exe libtool wrapper Avoid the `curl.exe` wrapper binary created by libtool, and run the real `curl.exe` directly for tests and version information. This solution was used in Azure jobs. I missed it when migrating jobs to GHA. Applies to tests run in the `mingw, AM x86_64 c-ares U` job, which has seen unexplained flakiness. Ref: 354afc891df4b60b8017fc5d35a05daedb2cd812 #6049 Follow-up to e53523fef07894991c69d907a7c7794c7ada4ff4 #14859 Closes #15437 --- .github/workflows/windows.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e2fb602ad2..06d5f12621 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -274,6 +274,9 @@ jobs: if: ${{ matrix.build == 'autotools' }} timeout-minutes: 1 run: | + # avoid libtool's curl.exe wrapper + mv bld/src/.libs/curl.exe bld/src/curl.exe + mv bld/lib/.libs/*.dll bld/src || true find . -name '*.exe' -o -name '*.dll' bld/src/curl.exe --disable --version -- 2.47.3