mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
* Create symlink for test running * Fix 1604 and 2004 templates * Fix php and haskell running * Minor fix * Fix new added tests * Fix symlink * Minor fix * Fix script permissions * Minor fix * Fix firefox and rust tests * Fix new merged tests
29 lines
687 B
Bash
29 lines
687 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: gcc.sh
|
|
## Desc: Installs GNU C++
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/os.sh
|
|
|
|
function InstallGcc {
|
|
version=$1
|
|
|
|
echo "Installing $version..."
|
|
apt-get install $version -y
|
|
}
|
|
|
|
# Install GNU C++ compiler
|
|
add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
apt-get update -y
|
|
|
|
toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json"
|
|
|
|
versions=$(jq -r '.gcc.versions[]' $toolset)
|
|
|
|
for version in ${versions[*]}; do
|
|
InstallGcc $version
|
|
done
|
|
|
|
invoke_tests "Tools" "gcc" |