]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: avoid curl.exe libtool wrapper
authorViktor Szakats <commit@vsz.me>
Tue, 29 Oct 2024 00:41:32 +0000 (01:41 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 29 Oct 2024 08:20:37 +0000 (09:20 +0100)
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

index e2fb602ad230f4ecd4f449d9d774022f8f218301..06d5f12621e4f41eab01f44ce2073045f55db0aa 100644 (file)
@@ -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