Files
runner-images/images/macos/provision/core/gcc.sh
Mikhail Timofeev 0f3523c0af [macOS] Add GCC 11 (#3361)
* Add gcc@11 to macOS images

* Change tests and software report to use gcc toolset versions

* Add natural sort
2021-05-13 11:45:33 +03:00

17 lines
407 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
gccVersions=$(get_toolset_value '.gcc.versions | .[]')
for gccVersion in $gccVersions; do
brew_smart_install "gcc@${gccVersion}"
done
# 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"