Skip to content

remove spurious fprintf #157

remove spurious fprintf

remove spurious fprintf #157

Workflow file for this run

name: 🧪 C-core testing
on:
push:
branches:
- "**"
paths:
- c-core/**
- .github/workflows/test-c-core.yml
defaults:
run:
working-directory: c-core
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
build_type: [Release, Debug]
os: [ubuntu-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Configure CMake on Linux
if: runner.os == 'Linux'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DUSE_SANITIZER='Address;Undefined'
- name: Configure CMake on MacOS
if: runner.os == 'macOS'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ASAN_OPTIONS=allocator_may_return_null=1 ctest -C ${{matrix.build_type}} --rerun-failed --output-on-failure