diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7abbc51028..6aff0b6949 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -447,6 +447,34 @@ jobs: run: | cd build timeout --signal=SIGABRT 60m ./tst/webrtc_client_test + + mbedtls-mac-os-build-clang: + runs-on: macos-latest + env: + CC: /usr/bin/clang + CXX: /usr/bin/clang++ + AWS_KVS_LOG_LEVEL: 2 + permissions: + id-token: write + contents: read + steps: + - name: Clone repository + uses: actions/checkout@v4 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + aws-region: ${{ secrets.AWS_REGION }} + - name: Build repository + run: | + mkdir build && cd build + cmake .. -DBUILD_TEST=TRUE -DUSE_OPENSSL=OFF -DUSE_MBEDTLS=ON + make + - name: Run tests + run: | + cd build + ./tst/webrtc_client_test + sample-check: if: github.repository == 'awslabs/amazon-kinesis-video-streams-webrtc-sdk-c' runs-on: ubuntu-latest diff --git a/CMake/Dependencies/libmbedtls-CMakeLists.txt b/CMake/Dependencies/libmbedtls-CMakeLists.txt index 2aa6f7ba72..dc31237f92 100644 --- a/CMake/Dependencies/libmbedtls-CMakeLists.txt +++ b/CMake/Dependencies/libmbedtls-CMakeLists.txt @@ -21,7 +21,7 @@ message(STATUS "C flags here are ${CMAKE_C_FLAGS}") ExternalProject_Add( project_libmbedtls GIT_REPOSITORY https://github.com/ARMmbed/mbedtls.git - GIT_TAG v2.25.0 + GIT_TAG v2.28.5 PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}