1
0

ci.yml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. name: CI
  2. on: [push, pull_request]
  3. env:
  4. TEST_REF_FORBID_GEN_REFS: true
  5. jobs:
  6. tests-ubuntu1804-gpp:
  7. strategy:
  8. matrix:
  9. os: [ubuntu-18.04]
  10. compiler: [g++]
  11. version: [7, 9, 10]
  12. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  13. runs-on: ${{ matrix.os }}
  14. steps:
  15. - uses: actions/checkout@v3
  16. - name: Run tests
  17. run: |
  18. cd tests
  19. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  20. tests-ubuntu1804-clang:
  21. strategy:
  22. matrix:
  23. os: [ubuntu-18.04]
  24. compiler: [clang++]
  25. version: [9]
  26. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  27. runs-on: ${{ matrix.os }}
  28. steps:
  29. - uses: actions/checkout@v3
  30. - name: Run tests
  31. run: |
  32. cd tests
  33. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  34. tests-ubuntu2204-gpp:
  35. strategy:
  36. matrix:
  37. os: [ubuntu-22.04]
  38. compiler: [g++]
  39. version: [9, 10, 11]
  40. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  41. runs-on: ${{ matrix.os }}
  42. steps:
  43. - uses: actions/checkout@v3
  44. - name: Run tests
  45. run: |
  46. cd tests
  47. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  48. tests-ubuntu2204-clang:
  49. strategy:
  50. matrix:
  51. os: [ubuntu-22.04]
  52. compiler: [clang++]
  53. version: [12, 13, 14]
  54. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  55. runs-on: ${{ matrix.os }}
  56. steps:
  57. - uses: actions/checkout@v3
  58. - name: Run tests
  59. run: |
  60. cd tests
  61. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  62. tests-ubuntu1804-gpp-32:
  63. strategy:
  64. matrix:
  65. os: [ubuntu-18.04]
  66. compiler: [g++]
  67. version: [7, 9, 10]
  68. name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  69. runs-on: ${{ matrix.os }}
  70. steps:
  71. - uses: actions/checkout@v3
  72. - name: Run tests
  73. run: |
  74. sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
  75. cd tests
  76. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  77. tests-ubuntu1804-clang-32:
  78. strategy:
  79. matrix:
  80. os: [ubuntu-18.04]
  81. compiler: [clang++]
  82. version: [9]
  83. name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  84. runs-on: ${{ matrix.os }}
  85. steps:
  86. - uses: actions/checkout@v3
  87. - name: Run tests
  88. run: |
  89. sudo apt-get install gcc-multilib g++-multilib
  90. cd tests
  91. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  92. tests-ubuntu2204-gpp-32:
  93. strategy:
  94. matrix:
  95. os: [ubuntu-22.04]
  96. compiler: [g++]
  97. version: [9, 10, 11]
  98. name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  99. runs-on: ${{ matrix.os }}
  100. steps:
  101. - uses: actions/checkout@v3
  102. - name: Run tests
  103. run: |
  104. sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
  105. cd tests
  106. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  107. tests-ubuntu2204-clang-32:
  108. strategy:
  109. matrix:
  110. os: [ubuntu-22.04]
  111. compiler: [clang++]
  112. version: [12, 13, 14]
  113. name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  114. runs-on: ${{ matrix.os }}
  115. steps:
  116. - uses: actions/checkout@v3
  117. - name: Run tests
  118. run: |
  119. sudo apt-get install gcc-multilib g++-multilib
  120. cd tests
  121. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  122. tests-macos11-gpp:
  123. strategy:
  124. matrix:
  125. os: [macos-11]
  126. compiler: [g++]
  127. version: [9, 10]
  128. name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  129. runs-on: ${{ matrix.os }}
  130. steps:
  131. - uses: actions/checkout@v3
  132. - name: Run tests
  133. run: |
  134. cd tests
  135. bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  136. tests-macos11-clang:
  137. strategy:
  138. matrix:
  139. os: [macos-11]
  140. compiler: [clang++]
  141. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  142. runs-on: ${{ matrix.os }}
  143. steps:
  144. - uses: actions/checkout@v3
  145. - name: Run tests
  146. run: |
  147. cd tests
  148. bash ./run.sh ${{ matrix.compiler }}
  149. tests-macos12-gpp:
  150. strategy:
  151. matrix:
  152. os: [macos-12]
  153. compiler: [g++]
  154. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  155. runs-on: ${{ matrix.os }}
  156. steps:
  157. - uses: actions/checkout@v3
  158. - name: Run tests
  159. run: |
  160. cd tests
  161. bash ./run.sh ${{ matrix.compiler }}
  162. tests-macos12-clang:
  163. strategy:
  164. matrix:
  165. os: [macos-12]
  166. compiler: [clang++]
  167. version: [12, 13, 14]
  168. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  169. runs-on: ${{ matrix.os }}
  170. steps:
  171. - uses: actions/checkout@v3
  172. - name: Run tests
  173. run: |
  174. cd tests
  175. bash ./run.sh ${{ matrix.compiler }}
  176. tests-windows:
  177. strategy:
  178. matrix:
  179. os: [windows-2019, windows-2022]
  180. compiler: [msvc, g++, clang++]
  181. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  182. runs-on: ${{ matrix.os }}
  183. steps:
  184. - uses: actions/checkout@v3
  185. - name: Run tests
  186. run: |
  187. cd tests
  188. bash ./run.sh ${{ matrix.compiler }}