ci.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. name: CI
  2. on:
  3. push:
  4. paths-ignore:
  5. - 'docs/**'
  6. - 'LICENSE'
  7. - 'read.me'
  8. - 'README.md'
  9. pull_request:
  10. paths-ignore:
  11. - 'docs/**'
  12. - 'LICENSE'
  13. - 'read.me'
  14. - 'README.md'
  15. env:
  16. TEST_REF_FORBID_GEN_REFS: true
  17. jobs:
  18. tests-macos11-gpp:
  19. strategy:
  20. matrix:
  21. os: [macos-11]
  22. compiler: [g++]
  23. version: [10, 11, 12]
  24. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  25. runs-on: ${{ matrix.os }}
  26. steps:
  27. - uses: actions/checkout@v3
  28. - name: Run tests
  29. run: |
  30. cd tests
  31. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  32. tests-macos11-clang:
  33. strategy:
  34. matrix:
  35. os: [macos-11]
  36. compiler: [clang++]
  37. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  38. runs-on: ${{ matrix.os }}
  39. steps:
  40. - uses: actions/checkout@v3
  41. - name: Run tests
  42. run: |
  43. cd tests
  44. bash ./run.sh ${{ matrix.compiler }}
  45. tests-macos12-gpp:
  46. strategy:
  47. matrix:
  48. os: [macos-12]
  49. compiler: [g++]
  50. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  51. runs-on: ${{ matrix.os }}
  52. steps:
  53. - uses: actions/checkout@v3
  54. - name: Run tests
  55. run: |
  56. cd tests
  57. bash ./run.sh ${{ matrix.compiler }}
  58. tests-macos12-clang:
  59. strategy:
  60. matrix:
  61. os: [macos-12]
  62. compiler: [clang++]
  63. version: [12, 13, 14]
  64. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  65. runs-on: ${{ matrix.os }}
  66. steps:
  67. - uses: actions/checkout@v3
  68. - name: Run tests
  69. run: |
  70. cd tests
  71. bash ./run.sh ${{ matrix.compiler }}