mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[Ubuntu] Workaround vcpkg installation (#6564)
This commit is contained in:
@@ -12,8 +12,16 @@ echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environm
|
|||||||
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
|
||||||
|
|
||||||
|
# workaround https://github.com/microsoft/vcpkg/issues/27786
|
||||||
|
|
||||||
|
mkdir -p /root/.vcpkg/
|
||||||
|
touch /root/.vcpkg/vcpkg.path.txt
|
||||||
|
|
||||||
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
||||||
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
|
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
|
||||||
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
||||||
|
|
||||||
|
rm -rf /root/.vcpkg
|
||||||
|
|
||||||
invoke_tests "Tools" "Vcpkg"
|
invoke_tests "Tools" "Vcpkg"
|
||||||
Reference in New Issue
Block a user