forked from actions/runner-images
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert VCPKG_ROOT variable (actions#6449)
- Loading branch information
1 parent
c2112cb
commit 88d253f
Showing
7 changed files
with
18 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
#!/bin/bash -e -o pipefail | ||
source ~/utils/utils.sh | ||
|
||
# Set env variables for vcpkg | ||
VCPKG_ROOT=/usr/local/share/vcpkg | ||
echo "export VCPKG_INSTALLATION_ROOT=${VCPKG_ROOT}" | tee -a ~/.bashrc | ||
echo "export VCPKG_ROOT=${VCPKG_ROOT}" | tee -a ~/.bashrc | ||
# Set env variable for vcpkg | ||
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg | ||
echo "export VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a ~/.bashrc | ||
|
||
# Install vcpkg | ||
git clone https://github.com/Microsoft/vcpkg $VCPKG_ROOT | ||
$VCPKG_ROOT/bootstrap-vcpkg.sh | ||
$VCPKG_ROOT/vcpkg integrate install | ||
chmod -R 0777 $VCPKG_ROOT | ||
ln -sf $VCPKG_ROOT/vcpkg /usr/local/bin | ||
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT | ||
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh | ||
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install | ||
chmod -R 0777 $VCPKG_INSTALLATION_ROOT | ||
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin | ||
|
||
invoke_tests "Common" "vcpkg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters