Add NXP LPC54S018M-EVK port #224
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: Sanitizer Tests | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| sanitizer_test: | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: "ASan" | |
| target: "asan" | |
| unit_target: "unit-asan" | |
| esp_unit_target: "unit-esp-asan" | |
| - name: "UBSan" | |
| target: "ubsan" | |
| unit_target: "unit-ubsan" | |
| esp_unit_target: "unit-esp-ubsan" | |
| - name: "LeakSan" | |
| target: "leaksan" | |
| unit_target: "unit-leaksan" | |
| esp_unit_target: "unit-esp-leaksan" | |
| steps: | |
| - name: Workaround high-entropy ASLR | |
| run: sudo sysctl vm.mmap_rnd_bits=28 | |
| - name: Checkout wolfIP | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwolfssl-dev check | |
| sudo modprobe tun | |
| - name: Build wolfIP with ${{ matrix.name }} | |
| run: | | |
| mkdir -p build/port | |
| make ${{ matrix.target }} | |
| - name: Build unit tests with ${{ matrix.name }} | |
| run: make ${{ matrix.unit_target }} | |
| - name: Run unit tests | |
| run: ./build/test/unit | |
| - name: Build ESP unit tests with ${{ matrix.name }} | |
| run: make ${{ matrix.esp_unit_target }} | |
| - name: Run ESP unit tests | |
| run: ./build/test/unit-esp | |
| - name: Run standalone TTL expired test | |
| run: ./build/test-ttl-expired |