ci.yml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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-ubuntu1804-gpp:
  19. # if: false # Disabled job
  20. # strategy:
  21. # matrix:
  22. # os: [ubuntu-18.04]
  23. # compiler: [g++]
  24. # version: [7, 9, 10]
  25. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  26. # runs-on: ${{ matrix.os }}
  27. # steps:
  28. # - uses: actions/checkout@v3
  29. # - name: Run tests
  30. # run: |
  31. # cd tests
  32. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  33. #
  34. # tests-ubuntu1804-clang:
  35. # if: false # Disabled job
  36. # strategy:
  37. # matrix:
  38. # os: [ubuntu-18.04]
  39. # compiler: [clang++]
  40. # version: [9]
  41. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  42. # runs-on: ${{ matrix.os }}
  43. # steps:
  44. # - uses: actions/checkout@v3
  45. # - name: Run tests
  46. # run: |
  47. # cd tests
  48. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  49. #
  50. # tests-ubuntu2204-gpp:
  51. # strategy:
  52. # matrix:
  53. # os: [ubuntu-22.04]
  54. # compiler: [g++]
  55. # version: [9, 10, 11]
  56. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  57. # runs-on: ${{ matrix.os }}
  58. # steps:
  59. # - uses: actions/checkout@v3
  60. # - name: Run tests
  61. # run: |
  62. # cd tests
  63. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  64. #
  65. # tests-ubuntu2204-clang:
  66. # strategy:
  67. # matrix:
  68. # os: [ubuntu-22.04]
  69. # compiler: [clang++]
  70. # version: [13, 14]
  71. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  72. # runs-on: ${{ matrix.os }}
  73. # steps:
  74. # - uses: actions/checkout@v3
  75. # - name: Run tests
  76. # run: |
  77. # cd tests
  78. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  79. #
  80. # tests-ubuntu1804-gpp-32:
  81. # if: false # Disabled job
  82. # strategy:
  83. # matrix:
  84. # os: [ubuntu-18.04]
  85. # compiler: [g++]
  86. # version: [7, 9, 10]
  87. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  88. # runs-on: ${{ matrix.os }}
  89. # steps:
  90. # - uses: actions/checkout@v3
  91. # - name: Run tests
  92. # run: |
  93. # sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
  94. # cd tests
  95. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  96. #
  97. # tests-ubuntu1804-clang-32:
  98. # if: false # Disabled job
  99. # strategy:
  100. # matrix:
  101. # os: [ubuntu-18.04]
  102. # compiler: [clang++]
  103. # version: [9]
  104. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  105. # runs-on: ${{ matrix.os }}
  106. # steps:
  107. # - uses: actions/checkout@v3
  108. # - name: Run tests
  109. # run: |
  110. # sudo apt-get install gcc-multilib g++-multilib
  111. # cd tests
  112. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  113. #
  114. # tests-ubuntu2204-gpp-32:
  115. # strategy:
  116. # matrix:
  117. # os: [ubuntu-22.04]
  118. # compiler: [g++]
  119. # version: [9, 10, 11]
  120. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  121. # runs-on: ${{ matrix.os }}
  122. # steps:
  123. # - uses: actions/checkout@v3
  124. # - name: Run tests
  125. # run: |
  126. # sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
  127. # cd tests
  128. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  129. #
  130. # tests-ubuntu2204-clang-32:
  131. # strategy:
  132. # matrix:
  133. # os: [ubuntu-22.04]
  134. # compiler: [clang++]
  135. # version: [12, 13, 14]
  136. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  137. # runs-on: ${{ matrix.os }}
  138. # steps:
  139. # - uses: actions/checkout@v3
  140. # - name: Run tests
  141. # run: |
  142. # sudo apt-get install gcc-multilib g++-multilib
  143. # cd tests
  144. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  145. #
  146. # tests-macos11-gpp:
  147. # strategy:
  148. # matrix:
  149. # os: [macos-11]
  150. # compiler: [g++]
  151. # version: [10, 11, 12]
  152. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  153. # runs-on: ${{ matrix.os }}
  154. # steps:
  155. # - uses: actions/checkout@v3
  156. # - name: Run tests
  157. # run: |
  158. # cd tests
  159. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  160. #
  161. # tests-macos11-clang:
  162. # strategy:
  163. # matrix:
  164. # os: [macos-11]
  165. # compiler: [clang++]
  166. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  167. # runs-on: ${{ matrix.os }}
  168. # steps:
  169. # - uses: actions/checkout@v3
  170. # - name: Run tests
  171. # run: |
  172. # cd tests
  173. # bash ./run.sh ${{ matrix.compiler }}
  174. #
  175. # tests-macos12-gpp:
  176. # strategy:
  177. # matrix:
  178. # os: [macos-12]
  179. # compiler: [g++]
  180. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  181. # runs-on: ${{ matrix.os }}
  182. # steps:
  183. # - uses: actions/checkout@v3
  184. # - name: Run tests
  185. # run: |
  186. # cd tests
  187. # bash ./run.sh ${{ matrix.compiler }}
  188. #
  189. # tests-macos12-clang:
  190. # strategy:
  191. # matrix:
  192. # os: [macos-12]
  193. # compiler: [clang++]
  194. # version: [12, 13, 14]
  195. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  196. # runs-on: ${{ matrix.os }}
  197. # steps:
  198. # - uses: actions/checkout@v3
  199. # - name: Run tests
  200. # run: |
  201. # cd tests
  202. # bash ./run.sh ${{ matrix.compiler }}
  203. #
  204. # tests-windows-2019:
  205. # strategy:
  206. # matrix:
  207. # os: [windows-2019]
  208. # compiler: [msvc, g++, clang++]
  209. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  210. # runs-on: ${{ matrix.os }}
  211. # steps:
  212. # - uses: actions/checkout@v3
  213. # - name: Run tests
  214. # run: |
  215. # cd tests
  216. # bash ./run.sh ${{ matrix.compiler }}
  217. #
  218. # tests-windows-2022:
  219. # strategy:
  220. # matrix:
  221. # os: [windows-2022]
  222. # compiler: [msvc, g++]
  223. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  224. # runs-on: ${{ matrix.os }}
  225. # steps:
  226. # - uses: actions/checkout@v3
  227. # - name: Run tests
  228. # run: |
  229. # cd tests
  230. # bash ./run.sh ${{ matrix.compiler }}
  231. #
  232. # tests-windows-2019:
  233. # strategy:
  234. # matrix:
  235. # os: [windows-2019]
  236. # compiler: [msvc, g++, clang++]
  237. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  238. # runs-on: ${{ matrix.os }}
  239. # steps:
  240. # - uses: actions/checkout@v3
  241. # - name: Run tests
  242. # run: |
  243. # cd tests
  244. # bash ./run.sh ${{ matrix.compiler }}
  245. tests-windows-2022:
  246. strategy:
  247. matrix:
  248. os: [windows-2022]
  249. compiler: [clang++]
  250. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  251. runs-on: ${{ matrix.os }}
  252. steps:
  253. - uses: actions/checkout@v3
  254. - name: Run tests
  255. run: |
  256. cd tests
  257. bash ./run.sh ${{ matrix.compiler }}