gcc14-no-sanitize.yml 798 B

123456789101112131415161718192021222324252627282930313233
  1. name: gcc-14 -fno-sanitize=all
  2. on:
  3. push:
  4. branches: [ "main" ]
  5. pull_request:
  6. branches: [ "main" ]
  7. workflow_dispatch:
  8. jobs:
  9. gcc14-no-sanitize:
  10. runs-on: ubuntu-24.04
  11. strategy:
  12. matrix:
  13. cxxflags: ['"-O3 -fno-sanitize=all -std=c++23 -DRA_DO_OPT_SMALLVECTOR=0"',
  14. '"-O3 -fno-sanitize=all -std=c++23 -DRA_DO_OPT_SMALLVECTOR=1"',
  15. '"-O3 -fno-sanitize=all -DRA_DO_CHECK=0 -DNDEBUG -std=c++23"']
  16. steps:
  17. - uses: actions/checkout@v4
  18. - name: update
  19. run: |
  20. sudo apt update
  21. sudo apt install gcc-14 g++-14
  22. - name: configure
  23. run: CXXFLAGS=${{matrix.cxxflags}} cmake .
  24. env:
  25. CXX: g++-14
  26. CC: gcc-14
  27. - name: make
  28. run: make
  29. - name: make test
  30. run: make test