🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
765 B

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