mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Revert "Revert VCPKG_ROOT variable (#6449)"
This reverts commit 88d253f383.
This commit is contained in:
committed by
Mikhail Koliada
parent
88d253f383
commit
5e91f0a07d
@@ -4,16 +4,17 @@
|
||||
## Desc: Installs vcpkg
|
||||
################################################################################
|
||||
|
||||
# Set env variable for vcpkg
|
||||
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
|
||||
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
|
||||
# Set env variables for vcpkg
|
||||
VCPKG_ROOT=/usr/local/share/vcpkg
|
||||
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_ROOT}" | tee -a /etc/environment
|
||||
echo "VCPKG_ROOT=${VCPKG_ROOT}" | tee -a /etc/environment
|
||||
|
||||
# Install vcpkg
|
||||
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
|
||||
git clone https://github.com/Microsoft/vcpkg $VCPKG_ROOT
|
||||
|
||||
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
|
||||
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
|
||||
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
|
||||
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|
||||
$VCPKG_ROOT/bootstrap-vcpkg.sh
|
||||
$VCPKG_ROOT/vcpkg integrate install
|
||||
chmod 0777 -R $VCPKG_ROOT
|
||||
ln -sf $VCPKG_ROOT/vcpkg /usr/local/bin
|
||||
|
||||
invoke_tests "Tools" "Vcpkg"
|
||||
Reference in New Issue
Block a user