Merge remote-tracking branch 'origin/topic/timw/fix-cirrus-macos-builds'

* origin/topic/timw/fix-cirrus-macos-builds:
  CI: Call 'brew install' for macOS to ensure we're using openssl@3 on all hosts

(cherry picked from commit 6047846353)
This commit is contained in:
Arne Welzel 2023-02-10 10:25:37 +01:00 committed by Tim Wojtulewicz
parent dc4b8b958c
commit 2fdc740bd0
2 changed files with 8 additions and 8 deletions

View file

@ -389,7 +389,7 @@
Using "in" to query the language const. This also handles the case of not
having a best guess and continue using the existing behavior.
Given
keyboard_layout = 1033 (0x0409), "keyboard-English - United States"
keyboard_layout = 66569 (0x00010409), "keyboard-English - United States (Best Guess)"

View file

@ -6,14 +6,14 @@ set -e
set -x
brew update
brew upgrade cmake openssl@1.1
brew install swig bison flex ccache
brew upgrade cmake
brew install openssl@3 swig bison flex ccache
python3 -m pip install --user websockets
# Brew doesn't create the /opt/homebrew/opt/openssl symlink if you install
# openssl@1.1, only with 3.0. Create the symlink if it doesn't exist.
if [ ! -e /opt/homebrew/opt/openssl ]; then
if [ -d /opt/homebrew/opt/openssl@1.1 ]; then
ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl
fi
fi
#if [ ! -e /opt/homebrew/opt/openssl ]; then
# if [ -d /opt/homebrew/opt/openssl@1.1 ]; then
# ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl
# fi
#fi