| 1234567891011121314151617181920212223242526272829 |
- name: sanitizer
- on: [push, pull_request]
- jobs:
- linux:
- timeout-minutes: 10
- strategy:
- matrix:
- compiler: [clang++]
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Compile tests
- working-directory: build
- env:
- CXX: ${{ matrix.compiler }}
- run: |
- cmake -DENTT_USE_SANITIZER=ON -DENTT_BUILD_TESTING=ON -DENTT_BUILD_LIB=ON -DENTT_BUILD_EXAMPLE=ON ..
- make -j4
- - name: Run tests
- working-directory: build
- env:
- CTEST_OUTPUT_ON_FAILURE: 1
- run: ctest --timeout 10 -C Debug -j4
|