mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
exclude Ubuntu16
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
## Desc: Installs GNU C++
|
||||
################################################################################
|
||||
|
||||
set -e
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/os.sh
|
||||
|
||||
function InstallGcc {
|
||||
version=$1
|
||||
|
||||
@@ -26,10 +31,12 @@ versions=(
|
||||
"g++-7"
|
||||
"g++-8"
|
||||
"g++-9"
|
||||
"g++-10"
|
||||
)
|
||||
|
||||
for version in ${versions[*]}
|
||||
do
|
||||
if ! isUbuntu16; then
|
||||
versions+=("g++-10")
|
||||
fi
|
||||
|
||||
for version in ${versions[*]}; do
|
||||
InstallGcc $version
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user