mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
[macOS] Remove stale VCPKG workaround (#12092)
This commit is contained in:
@@ -10,11 +10,6 @@ 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
|
||||
sudo git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
||||
sudo $VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
||||
@@ -22,6 +17,4 @@ $VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
||||
sudo chmod -R 0777 $VCPKG_INSTALLATION_ROOT
|
||||
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
||||
|
||||
rm -rf /Users/runner/.vcpkg
|
||||
|
||||
invoke_tests "Common" "vcpkg"
|
||||
|
||||
Reference in New Issue
Block a user