Skip to content

Added missing test

Added missing test #83

Workflow file for this run

name: ASan+UBSan
on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v5
# Configure CMake with ASan + UBSan
- name: Configure with sanitizers
run: cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -g" \
-DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -g" \
-DBUILD_TESTING=ON
# Build
- name: Build
run: cmake --build build --config Debug
# Run tests
- name: Run tests under ASan+UBSan
run: cd build && ctest --output-on-failure