mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 04:37:09 +00:00
[macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
21
images/macos/scripts/build/install-gcc.sh
Normal file
21
images/macos/scripts/build/install-gcc.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
################################################################################
|
||||
## File: install-gcc.sh
|
||||
## Desc: Install GCC
|
||||
################################################################################
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user