mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
add particular commit for vcpkg
This commit is contained in:
@@ -12,7 +12,10 @@ VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
|
|||||||
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
|
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
|
||||||
|
|
||||||
# Install vcpkg
|
# Install vcpkg
|
||||||
git clone --depth=1 https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
||||||
|
# Workaround to avoid issues caused by this PR https://github.com/microsoft/vcpkg/pull/10834
|
||||||
|
git checkout 1e19af09e53e5f306ed89c2033817a21e5ee0bcf
|
||||||
|
|
||||||
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
||||||
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
||||||
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
|
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
|
||||||
|
|||||||
Reference in New Issue
Block a user