From fc680c8145b35ac903de6fba4454934a222d7a1b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 29 Nov 2024 10:25:20 +0100 Subject: [PATCH] GHA/windows: extend PATH instead copying libcurl.dll It was already done in cmake jobs, but not in autotools ones. Follow-up to 1a2d38c47c7825ad4d993d10664a45be3e3bbb58 #15437 Follow-up to 04184d45badeb45ce9166725a15f93742fb09770 #15662 Closes #15663 --- .github/workflows/windows.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c0334b40fe..ac448a6715 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -288,9 +288,9 @@ jobs: if [ '${{ matrix.build }}' = 'cmake' ]; then PATH="$PWD/bld/lib:$PATH" else + PATH="$PWD/bld/lib/.libs:$PATH" # avoid libtool's curl.exe wrapper mv bld/src/.libs/curl.exe bld/src/curl.exe - cp bld/lib/.libs/*.dll bld/src || true fi find . -name '*.exe' -o -name '*.dll' if [ '${{ matrix.test }}' != 'uwp' ]; then # curl: error initializing curl library @@ -312,10 +312,6 @@ jobs: mv bld/tests/libtest/.libs/*.exe bld/tests/libtest mv bld/tests/server/.libs/*.exe bld/tests/server mv bld/tests/unit/.libs/*.exe bld/tests/unit || true - cp bld/lib/.libs/*.dll bld/tests/http/clients || true - cp bld/lib/.libs/*.dll bld/tests/libtest || true - cp bld/lib/.libs/*.dll bld/tests/server || true - cp bld/lib/.libs/*.dll bld/tests/unit || true fi - name: 'install test prereqs' @@ -344,6 +340,7 @@ jobs: PATH="$PWD/bld/lib:$PATH" cmake --build bld --config '${{ matrix.type }}' --target test-ci else + PATH="$PWD/bld/lib/.libs:$PATH" make -C bld -j5 V=1 test-ci fi