2615f18d2a
- replace shell script with pwsh - add more tools from actions/virtual-environments - fixup pwsh modules installation - install node 12 and 16 in base - add node 14 in js-* - build rust images - restrict flavours to amd64 only for now - add helper scripts from actions/virtual-environments - overhaul build and dockerfile
19 lines
802 B
Bash
Executable File
19 lines
802 B
Bash
Executable File
#!/bin/bash -e
|
|
################################################################################
|
|
## File: vcpkg.sh
|
|
## Desc: Installs vcpkg
|
|
################################################################################
|
|
# source: https://github.com/actions/virtual-environments/blob/206a8183190e81d3266084457e619553551c1252/images/linux/scripts/installers/vcpkg.sh
|
|
|
|
# Set env variable for vcpkg
|
|
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
|
|
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
|
|
|
|
# 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 0777 -R $VCPKG_INSTALLATION_ROOT
|
|
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
|