Disable deprecation warning for tests #517
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: C/C++ CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cmake configure with ASAN and UBSAN checks | |
run: cmake -B build -DCMAKE_BUILD_TYPE=Sanitize | |
- name: make with ASAN and UBSAN checks | |
run: make -C build | |
- name: make check | |
run: CTEST_OUTPUT_ON_FAILURE=1 ASAN_OPTIONS=detect_leaks=0 make -C build check |