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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user