[macOS] vcpkg workaround (#6579)
This commit is contained in:
@@ -5,6 +5,11 @@ source ~/utils/utils.sh
|
|||||||
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
|
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
|
||||||
echo "export VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a ~/.bashrc
|
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
|
# Install vcpkg
|
||||||
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
||||||
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
||||||
@@ -12,4 +17,6 @@ $VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
|||||||
chmod -R 0777 $VCPKG_INSTALLATION_ROOT
|
chmod -R 0777 $VCPKG_INSTALLATION_ROOT
|
||||||
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
||||||
|
|
||||||
|
rm -rf /Users/runner/.vcpkg
|
||||||
|
|
||||||
invoke_tests "Common" "vcpkg"
|
invoke_tests "Common" "vcpkg"
|
||||||
|
|||||||
Reference in New Issue
Block a user