diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 321d317f6..1f3af92c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -487,3 +487,38 @@ jobs: mkdir build && cd build cmake .. -DBUILD_STATIC=ON make + + linux-thread-size-check: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: + - name: Clone repository + uses: actions/checkout@v3 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + role-session-name: ${{ secrets.AWS_ROLE_SESSION_NAME }} + aws-region: ${{ secrets.AWS_REGION }} + role-duration-seconds: 10800 + - name: Build Repository + run: | + mkdir build && cd build + cmake .. -DBUILD_TEST=TRUE -DKVS_DEFAULT_STACK_SIZE=65536 + make -j$(nproc) + - name: Run tests with expected failure + run: | + set +e + cd build + ./tst/producer_test --gtest_filter="ProducerClientBasicTest.*" + TEST_EXIT_CODE=$? + + # 128 (abnormal exit) + 11 (segmentation fault) = 139 + if [ $TEST_EXIT_CODE -ne 139 ]; then + echo "Unexpected exit code: $TEST_EXIT_CODE" + exit 1 + fi + echo "Test exited as expected with code $TEST_EXIT_CODE." + shell: bash diff --git a/CMake/Dependencies/libkvspic-CMakeLists.txt b/CMake/Dependencies/libkvspic-CMakeLists.txt index 87a0fb728..847a4286e 100644 --- a/CMake/Dependencies/libkvspic-CMakeLists.txt +++ b/CMake/Dependencies/libkvspic-CMakeLists.txt @@ -7,7 +7,7 @@ include(ExternalProject) # clone repo only ExternalProject_Add(libkvspic-download GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-pic.git - GIT_TAG v1.1.0 + GIT_TAG v1.2.0 SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvspic-src" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/kvspic-build" CMAKE_ARGS