Files
runner-images/images/macos/provision/core/gcc.sh
MaksimZhukov 310f692ea5 [macOS] Fix the issue with brew install (#2354)
* Update azure-cli installation

* Update curl installation

* Update git-lfs installation

* Add utils

* Update gnupg installation

* Add brew_install function

* Revert jq installation

* Add condition for the aws-sam-cli

* Add return to function, revert aws-sam-cli changes, rename brew_install function

* Fix typo

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-12-28 10:54:25 +03:00

17 lines
406 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
source ~/utils/invoke-tests.sh
echo "Installing GCC@8 using homebrew..."
brew_smart_install "gcc@8"
echo "Installing GCC@9 using homebrew..."
brew_smart_install "gcc@9"
# https://github.com/actions/virtual-environments/issues/1280
echo "Installing GCC@10 using homebrew..."
brew_smart_install "gcc@10"
rm $(which gfortran)
invoke_tests "Common" "GCC"