-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03c71fa
commit 148eaf9
Showing
2 changed files
with
13 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/bin/bash -e -o pipefail | ||
source ~/utils/utils.sh | ||
|
||
# Set env variable for vcpkg | ||
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg | ||
echo "export VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a ~/.bashrc | ||
# 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 | ||
|
||
# Install vcpkg | ||
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 | ||
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 | ||
|
||
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