Files
runner-images/images/macos/provision/core/gcc.sh
2022-08-23 19:43:19 +03:00

17 lines
408 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/runner-images/issues/1280
gfortranPath=$(which gfortran) || true
if [ $gfortranPath ]; then
rm $gfortranPath
fi
invoke_tests "Common" "GCC"