forked from actions/runner-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add gcc@11 to macOS images * Change tests and software report to use gcc toolset versions * Add natural sort
- Loading branch information
1 parent
3b20fa3
commit 0f3523c
Showing
7 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/bin/bash -e -o pipefail | ||
source ~/utils/utils.sh | ||
|
||
echo "Installing GCC@8 using homebrew..." | ||
brew_smart_install "gcc@8" | ||
gccVersions=$(get_toolset_value '.gcc.versions | .[]') | ||
|
||
echo "Installing GCC@9 using homebrew..." | ||
brew_smart_install "gcc@9" | ||
for gccVersion in $gccVersions; do | ||
brew_smart_install "gcc@${gccVersion}" | ||
done | ||
|
||
# https://github.com/actions/virtual-environments/issues/1280 | ||
echo "Installing GCC@10 using homebrew..." | ||
brew_smart_install "gcc@10" | ||
rm $(which gfortran) | ||
# Delete default gfortran link if it exists https://github.com/actions/virtual-environments/issues/1280 | ||
gfortranPath=$(which gfortran) | ||
if [ $gfortranPath ]; then | ||
rm $gfortranPath | ||
fi | ||
|
||
invoke_tests "Common" "GCC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,14 @@ | |
"julia" | ||
] | ||
}, | ||
"gcc": { | ||
"versions": [ | ||
"8", | ||
"9", | ||
"10", | ||
"11" | ||
] | ||
}, | ||
"toolcache": [ | ||
{ | ||
"name": "Python", | ||
|