mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
18 lines
510 B
Bash
18 lines
510 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-gcc-compilers.sh
|
|
## Desc: Install GNU C++ compilers
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
versions=$(get_toolset_value '.gcc.versions[]')
|
|
|
|
for version in ${versions[*]}; do
|
|
echo "Installing $version..."
|
|
apt-get install $version
|
|
done
|
|
|
|
invoke_tests "Tools" "gcc"
|