From: Tal Regev Date: Thu, 3 Oct 2024 04:15:01 +0000 (+0300) Subject: GHA/windows: add workaround for upstream vcpkg issue X-Git-Tag: curl-8_11_0~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=841f42150ae7b9f903cc5d266cec60a8090c0f27;p=thirdparty%2Fcurl.git GHA/windows: add workaround for upstream vcpkg issue Fixes: ``` error: https://github.com/google/brotli/archive/v1.1.0.tar.gz: WinHttpSendRequest failed with exit code 10106 ``` Apply workaround: https://github.com/microsoft/vcpkg/issues/41199#issuecomment-2378255699 Bug commit: https://github.com/microsoft/vcpkg-tool/commit/d3fc35774f86782f356ef0f9352ba857fa57302e#diff-33cf7c311a76d4a838f91b078c2f8cbc984557379f7b345a268ec6deb665a91eR666-R675 Fix commit: https://github.com/microsoft/vcpkg-tool/commit/3122da72b1e4bf98bfc3d51937e6ad6cc4292cdf Fix PR: https://github.com/microsoft/vcpkg-tool/pull/1501 Fixes #15128 Reported-by: Viktor Szakats Closes #15133 --- diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a471448250..3479460f61 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -729,7 +729,12 @@ jobs: - name: 'vcpkg build' timeout-minutes: 35 - run: vcpkg x-set-installed ${{ matrix.install }} '--triplet=${{ matrix.arch }}-${{ matrix.plat }}' + run: | + # Temporary workaround pending: https://github.com/microsoft/vcpkg-tool/pull/1501 + export SystemDrive="$SYSTEMDRIVE" + export SystemRoot="$SYSTEMROOT" + export windir="$WINDIR" + vcpkg x-set-installed ${{ matrix.install }} '--triplet=${{ matrix.arch }}-${{ matrix.plat }}' - name: 'cmake configure' timeout-minutes: 5