mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-19 00:06:45 +00:00
[macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
25
images/macos/scripts/build/install-openssl.sh
Normal file
25
images/macos/scripts/build/install-openssl.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
################################################################################
|
||||
## File: install-openssl.sh
|
||||
## Desc: Install openssl
|
||||
################################################################################
|
||||
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo "Install openssl@1.1"
|
||||
brew_smart_install "openssl@1.1"
|
||||
|
||||
if ! is_Arm64; then
|
||||
# Symlink brew openssl@1.1 to `/usr/local/bin` as Homebrew refuses
|
||||
ln -sf $(brew --prefix openssl@1.1)/bin/openssl /usr/local/bin/openssl
|
||||
else
|
||||
# arm64 has a different installation prefix for brew
|
||||
ln -sf $(brew --prefix openssl@1.1)/bin/openssl /opt/homebrew/bin/openssl
|
||||
fi
|
||||
|
||||
if ! is_Arm64; then
|
||||
# Most of buildsystems and scripts look up ssl here
|
||||
ln -sf $(brew --cellar openssl@1.1)/1.1* /usr/local/opt/openssl
|
||||
fi
|
||||
|
||||
invoke_tests "OpenSSL"
|
||||
Reference in New Issue
Block a user