key: macos-10.15-cmake-${{ matrix.EVENT_MATRIX }}-v3
- name: Install Depends
- run: brew install mbedtls
+ run: brew install mbedtls@2
- name: Build And Test
shell: bash
else
EVENT_CMAKE_OPTIONS=""
fi
+ EVENT_CMAKE_OPTIONS="$EVENT_CMAKE_OPTIONS -DMBEDTLS_ROOT_DIR=/usr/local/opt/mbedtls@2"
#run build and test
JOBS=1
key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-v3
- name: Install Depends
- run: brew install autoconf automake libtool pkg-config mbedtls
+ run: brew install autoconf automake libtool pkg-config mbedtls@2
- name: Build And Test
shell: bash
else
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
+ export CPPFLAGS="-I/usr/local/opt/mbedtls@2/include"
+ export LDFLAGS="-L/usr/local/opt/mbedtls@2/lib"
if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
EVENT_CONFIGURE_OPTIONS="--disable-openssl"