From: Viktor Szakats Date: Fri, 29 Nov 2024 09:25:20 +0000 (+0100) Subject: GHA/windows: extend PATH instead copying libcurl.dll X-Git-Tag: curl-8_11_1~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc680c8145b35ac903de6fba4454934a222d7a1b;p=thirdparty%2Fcurl.git 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 --- 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