change string_view to vector<u8> for ihex data byte string. Remove th… #311
Workflow file for this run
This file contains 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: asan | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'dev**' | |
pull_request: | |
branches: | |
- 'main' | |
env: | |
TARGET_ARCH: linux64 | |
ASAN_OPTIONS: verbosity=1 | |
TSAN_OPTIONS: verbosity=1 | |
UBSAN_OPTIONS: print_stacktrace=1 | |
jobs: | |
sanitize: | |
name: ${{matrix.sanitizer}} | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
sanitizer: [ASAN, TSAN, UBSAN] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Setup Dependencies | |
run: sudo apt-get install libelf-dev ninja-build | |
- name: Configure | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.sanitizer}} -DMWR_BUILD_TESTS=ON | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{matrix.sanitizer}} -j $(nproc) | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -C ${{matrix.sanitizer}} --verbose | |