sanitizer.yml 597 B

1234567891011121314151617181920212223242526272829
  1. name: sanitizer
  2. on: [push, pull_request]
  3. jobs:
  4. linux:
  5. timeout-minutes: 10
  6. strategy:
  7. matrix:
  8. compiler: [clang++]
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Compile tests
  13. working-directory: build
  14. env:
  15. CXX: ${{ matrix.compiler }}
  16. run: |
  17. cmake -DENTT_USE_SANITIZER=ON -DENTT_BUILD_TESTING=ON -DENTT_BUILD_LIB=ON -DENTT_BUILD_EXAMPLE=ON ..
  18. make -j4
  19. - name: Run tests
  20. working-directory: build
  21. env:
  22. CTEST_OUTPUT_ON_FAILURE: 1
  23. run: ctest --timeout 10 -C Debug -j4