mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge pull request #1658 from akv-platform/al-cheb/ubuntu-gcc10
[Ubuntu] Add GCC 10
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
## Desc: Installs GNU C++
|
||||
################################################################################
|
||||
|
||||
set -e
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/os.sh
|
||||
|
||||
function InstallGcc {
|
||||
version=$1
|
||||
@@ -29,7 +33,10 @@ versions=(
|
||||
"g++-9"
|
||||
)
|
||||
|
||||
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