Fix potential mismatch in size between DECL_MP_INT_SIZE_DYN and NEW_MP_INT_SIZE, fix unused variable warning in random.c. #355
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: FreeRTOS mem_track.h compile regression | |
| # START OF COMMON SECTION | |
| on: | |
| push: | |
| branches: [ 'release/**' ] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| branches: [ '*' ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| # END OF COMMON SECTION | |
| # Regression test for the memLock / pthread.h guard misalignment in | |
| # wolfssl/wolfcrypt/mem_track.h that previously broke multi-threaded | |
| # FreeRTOS-class builds with WOLFSSL_TRACK_MEMORY + USE_WOLFSSL_MEMORY | |
| # + !WOLFSSL_STATIC_MEMORY. The bug was preprocessor-only, so the test | |
| # simulates a non-Linux/Mac/Zephyr target by suppressing the host | |
| # platform autodefines (-U__linux__ -U__MACH__ -U__ZEPHYR__) and using | |
| # the clean-room FreeRTOS.h / semphr.h stubs under | |
| # tests/freertos-mem-track-repro/. No cross compiler needed. | |
| jobs: | |
| freertos_mem_track: | |
| name: mem_track.h non-Linux multi-threaded compile | |
| if: ${{ (github.repository_owner == 'wolfssl') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }} | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout wolfSSL | |
| uses: actions/checkout@v4 | |
| - name: Run mem_track.h FreeRTOS reproducer | |
| run: sh tests/freertos-mem-track-repro/run.sh |