From 279e529dabcc3cd8642fc45d62bbb279724784e3 Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Wed, 16 Nov 2022 18:31:26 +0100 Subject: [PATCH] [macOS] vcpkg workaround (#6579) --- images/macos/provision/core/vcpkg.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/macos/provision/core/vcpkg.sh b/images/macos/provision/core/vcpkg.sh index a1ac7c25..7ba16172 100644 --- a/images/macos/provision/core/vcpkg.sh +++ b/images/macos/provision/core/vcpkg.sh @@ -5,6 +5,11 @@ source ~/utils/utils.sh VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg echo "export VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a ~/.bashrc +# workaround https://github.com/microsoft/vcpkg/issues/27786 + +mkdir -p /Users/runner/.vcpkg +touch /Users/runner/.vcpkg/vcpkg.path.txt + # Install vcpkg git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT $VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh @@ -12,4 +17,6 @@ $VCPKG_INSTALLATION_ROOT/vcpkg integrate install chmod -R 0777 $VCPKG_INSTALLATION_ROOT ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin +rm -rf /Users/runner/.vcpkg + invoke_tests "Common" "vcpkg"