mirror of
https://github.com/actions/runner-images.git
synced 2025-12-28 04:38:53 +08:00
[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>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
source ~/utils/utils.sh
|
||||
source ~/utils/invoke-tests.sh
|
||||
|
||||
echo "Installing GCC@8 using homebrew..."
|
||||
brew install gcc@8
|
||||
brew_smart_install "gcc@8"
|
||||
|
||||
echo "Installing GCC@9 using homebrew..."
|
||||
brew install gcc@9
|
||||
brew_smart_install "gcc@9"
|
||||
|
||||
# https://github.com/actions/virtual-environments/issues/1280
|
||||
echo "Installing GCC@10 using homebrew..."
|
||||
brew install gcc@10
|
||||
brew_smart_install "gcc@10"
|
||||
rm $(which gfortran)
|
||||
|
||||
invoke_tests "Common" "GCC"
|
||||
invoke_tests "Common" "GCC"
|
||||
|
||||
Reference in New Issue
Block a user