Files
runner-images/images/macos/provision/core/gcc.sh
T

17 lines
408 B
Bash
Raw Normal View History

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
2020-09-10 14:34:08 +03:00
2021-05-13 11:45:33 +03:00
gccVersions=$(get_toolset_value '.gcc.versions | .[]')
2020-09-10 14:34:08 +03:00
2021-05-13 11:45:33 +03:00
for gccVersion in $gccVersions; do
brew_smart_install "gcc@${gccVersion}"
done
2020-12-03 18:40:19 +03:00
# Delete default gfortran link if it exists https://github.com/actions/runner-images/issues/1280
gfortranPath=$(which gfortran) || true
2021-05-13 11:45:33 +03:00
if [ $gfortranPath ]; then
rm $gfortranPath
fi
invoke_tests "Common" "GCC"