Files
runner-images/images/macos/provision/core/openssl.sh
T
Vasilii PolikarpovandGitHub df292beac6 [Mac OS] Configure template for Mac OS 14 ARM64 image (#8769)
* Configure template for Mac OS 14 ARM64 image

* Change conditions for ruby
2023-11-10 18:53:24 +01:00

21 lines
582 B
Bash
Executable File

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
echo "Install [email protected]"
brew_smart_install "[email protected]"
if ! is_Arm64; then
# Symlink brew [email protected] to `/usr/local/bin` as Homebrew refuses
ln -sf $(brew --prefix [email protected])/bin/openssl /usr/local/bin/openssl
else
# arm64 has a different installation prefix for brew
ln -sf $(brew --prefix [email protected])/bin/openssl /opt/homebrew/bin/openssl
fi
if ! is_Arm64; then
# Most of buildsystems and scripts look up ssl here
ln -sf $(brew --cellar [email protected])/1.1* /usr/local/opt/openssl
fi
invoke_tests "OpenSSL"