Use csp_buffer_get_always only when incoming packets is not to be routed #484
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 Build and Test | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-freertos: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Setup build system packages on Linux | |
| run: | | |
| sudo apt-get install ninja-build meson tree | |
| - name: Checkout Test App | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: libcsp/libcsp-freertos | |
| - name: Checkout FreeRTOS Kernel | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: FreeRTOS/FreeRTOS-Kernel | |
| path: freertos | |
| - name: Checkout libcsp under subprojects | |
| uses: actions/checkout@v6 | |
| with: | |
| path: subprojects/libcsp | |
| - name: Build it | |
| run: | | |
| meson setup builddir && ninja -C builddir | |
| - name: Run it | |
| run: builddir/demo |