diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index fb5a0504304e..1f148f550b77 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -37,6 +37,7 @@ jobs: -DUSERVER_FORCE_DOWNLOAD_ABSEIL=1 -DUSERVER_FORCE_DOWNLOAD_PROTOBUF=1 -DUSERVER_FORCE_DOWNLOAD_GRPC=1 + -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 steps: - uses: actions/checkout@v7 @@ -61,6 +62,7 @@ jobs: brew install $(cat scripts/docs/en/deps/macos.md) brew install clang-format brew install lld + brew install openssl@3 # CPM gRPC 1.59.1 does not build with OpenSSL 4 brew install python@3.12 brew install curl # keg-only; pre-installed on GitHub runner but not in clean envs @@ -82,6 +84,8 @@ jobs: brew install clickhouse redis kafka mongodb-community rabbitmq # mongodb-community pulls brew abseil, its headers in $(brew --prefix)/include shadow the CPM one brew unlink abseil 2>/dev/null || true # may be absent + # openssl@4 headers in $(brew --prefix)/include shadow the openssl@3 ones + brew unlink openssl@4 2>/dev/null || true mkdir -p "$(brew --prefix)/etc/rabbitmq/conf.d" echo 'deprecated_features.permit.transient_nonexcl_queues = true' > "$(brew --prefix)/etc/rabbitmq/conf.d/10-userver-ci.conf"