diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 131135be..7a69747a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,13 @@ jobs: elif [[ ${{ matrix.os }} == "macos-latest" ]]; then brew install pkg-config libusb elif [[ ${{ matrix.os }} == "windows-latest" ]]; then + # Workaround, see: + # https://github.com/microsoft/vcpkg/issues/41199#issuecomment-2378255699 + + export SystemDrive="$SYSTEMDRIVE" + export SystemRoot="$SYSTEMROOT" + export windir="$WINDIR" + git clone https://github.com/microsoft/vcpkg.git --depth 1 vcpkg/bootstrap-vcpkg.bat vcpkg/vcpkg integrate install