1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-12-14 04:18:56 +03:00

GHA: switch macOS jobs to versioned mbedtls@3 brew package

To avoid bumping to 4.x with the unversioned mbedtls package.

Closes #1744
This commit is contained in:
Viktor Szakats
2025-11-22 02:00:17 +01:00
parent 8ddf3b317f
commit b098a3c434

View File

@@ -141,7 +141,7 @@ jobs:
--location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-Linux-x86_64.tar.gz" | tar -xz
printf '%s' ~/cmake-"${OLD_CMAKE_VERSION}"-Linux-x86_64/bin/cmake > ~/old-cmake-path.txt
else
brew install libgcrypt openssl mbedtls wolfssl
brew install libgcrypt openssl mbedtls@3 wolfssl
cd ~
curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused \
--location "https://github.com/Kitware/CMake/releases/download/v${OLD_CMAKE_VERSION}/cmake-${OLD_CMAKE_VERSION}-Darwin-x86_64.tar.gz" | tar -xz
@@ -920,7 +920,7 @@ jobs:
configure: --with-crypto=libgcrypt --with-libgcrypt-prefix=/opt/homebrew
cmake: -DCRYPTO_BACKEND=Libgcrypt
- name: 'mbedTLS'
install: mbedtls
install: mbedtls@3
configure: --with-crypto=mbedtls --with-libmbedcrypto-prefix=/opt/homebrew
cmake: -DCRYPTO_BACKEND=mbedTLS
- name: 'wolfSSL'