]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: remove vcpkg bin path in MSVC jobs
authorTal Regev <tal.regev@gmail.com>
Wed, 31 Jul 2024 18:49:51 +0000 (21:49 +0300)
committerViktor Szakats <commit@vsz.me>
Wed, 31 Jul 2024 22:32:00 +0000 (00:32 +0200)
- the path is wrong, because we compile on debug, and we are using
  the release bin path.
- the path is not needed, cmake curl copy the needed dlls to the
  compilation cmake folder where the curl exe is found.

Closes #14329

.github/workflows/windows.yml

index 702da55efc27557de1f6e1ef70fd145968d965c4..fb9376d42b0ed6833611feb37fa5ffe9d06f3cbd 100644 (file)
@@ -607,7 +607,7 @@ jobs:
         run: |
           find . -name '*.exe' -o -name '*.dll' | grep -v '/examples/'
           if [ '${{ matrix.plat }}' != 'uwp' ]; then
-            PATH="$PWD/bld/lib:$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.arch }}-${{ matrix.plat }}/bin:$PATH"
+            PATH="$PWD/bld/lib:$PATH"
             bld/src/curl.exe --disable --version
           fi
 
@@ -629,5 +629,5 @@ jobs:
           elif [[ '${{ matrix.config }}' = *'-DUSE_LIBIDN2=ON'* ]]; then
             TFLAGS+=' ~165 ~1448 ~2046 ~2047'
           fi
-          PATH="$PWD/bld/lib:$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.arch }}-${{ matrix.plat }}/bin:$PATH"
+          PATH="$PWD/bld/lib:$PATH"
           cmake --build bld --config '${{ matrix.type }}' --target test-ci