ci.yml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. name: CI
  2. on:
  3. workflow_dispatch:
  4. push:
  5. paths-ignore:
  6. - 'docs/**'
  7. - 'LICENSE'
  8. - 'read.me'
  9. - 'README.md'
  10. pull_request:
  11. paths-ignore:
  12. - 'docs/**'
  13. - 'LICENSE'
  14. - 'read.me'
  15. - 'README.md'
  16. env:
  17. TEST_REF_FORBID_GEN_REFS: true
  18. jobs:
  19. ## tests-ubuntu2004-gpp:
  20. ## strategy:
  21. ## matrix:
  22. ## os: [ubuntu-20.04]
  23. ## compiler: [g++]
  24. ## version: [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-ubuntu2004-clang:
  35. ## strategy:
  36. ## matrix:
  37. ## os: [ubuntu-20.04]
  38. ## compiler: [clang++]
  39. ## version: [10, 11, 12]
  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. #
  49. # tests-ubuntu2204-gpp:
  50. # strategy:
  51. # matrix:
  52. # os: [ubuntu-22.04]
  53. # compiler: [g++]
  54. # version: [10, 11, 12]
  55. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  56. # runs-on: ${{ matrix.os }}
  57. # steps:
  58. # - uses: actions/checkout@v3
  59. # - name: Run tests
  60. # run: |
  61. # cd tests
  62. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  63. #
  64. # tests-ubuntu2204-clang:
  65. # strategy:
  66. # matrix:
  67. # os: [ubuntu-22.04]
  68. # compiler: [clang++]
  69. # version: [13, 14]
  70. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  71. # runs-on: ${{ matrix.os }}
  72. # steps:
  73. # - uses: actions/checkout@v3
  74. # - name: Run tests
  75. # run: |
  76. # cd tests
  77. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  78. #
  79. ## tests-ubuntu2004-gpp-32:
  80. ## strategy:
  81. ## matrix:
  82. ## os: [ubuntu-20.04]
  83. ## compiler: [g++]
  84. ## version: [9, 10]
  85. ## name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  86. ## runs-on: ${{ matrix.os }}
  87. ## steps:
  88. ## - uses: actions/checkout@v3
  89. ## - name: Run tests
  90. ## run: |
  91. ## sudo apt-get update
  92. ## sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
  93. ## cd tests
  94. ## bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  95. ##
  96. ## tests-ubuntu2004-clang-32:
  97. ## strategy:
  98. ## matrix:
  99. ## os: [ubuntu-20.04]
  100. ## compiler: [clang++]
  101. ## version: [10, 11, 12]
  102. ## name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  103. ## runs-on: ${{ matrix.os }}
  104. ## steps:
  105. ## - uses: actions/checkout@v3
  106. ## - name: Run tests
  107. ## run: |
  108. ## sudo apt-get update
  109. ## sudo apt-get install gcc-multilib g++-multilib
  110. ## cd tests
  111. ## bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  112. #
  113. # tests-ubuntu2204-gpp-32:
  114. # strategy:
  115. # matrix:
  116. # os: [ubuntu-22.04]
  117. # compiler: [g++]
  118. # version: [9, 10, 11]
  119. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
  120. # runs-on: ${{ matrix.os }}
  121. # steps:
  122. # - uses: actions/checkout@v3
  123. # - name: Run tests
  124. # run: |
  125. # sudo apt-get update
  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: [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 update
  143. # sudo apt-get install gcc-multilib g++-multilib
  144. # cd tests
  145. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
  146. #
  147. # tests-macos14-gpp:
  148. # strategy:
  149. # matrix:
  150. # os: [macos-14]
  151. # compiler: [g++]
  152. # version: [13, 14, 15]
  153. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  154. # runs-on: ${{ matrix.os }}
  155. # steps:
  156. # - uses: actions/checkout@v3
  157. # - name: Run tests
  158. # run: |
  159. # cd tests
  160. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  161. #
  162. # tests-macos14-clang:
  163. # strategy:
  164. # matrix:
  165. # os: [macos-14]
  166. # compiler: [clang++]
  167. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  168. # runs-on: ${{ matrix.os }}
  169. # steps:
  170. # - uses: actions/checkout@v3
  171. # - name: Run tests
  172. # run: |
  173. # cd tests
  174. # bash ./run.sh ${{ matrix.compiler }}
  175. #
  176. # tests-macos15-gpp:
  177. # strategy:
  178. # matrix:
  179. # os: [macos-15]
  180. # compiler: [g++]
  181. # version: [13, 14, 15]
  182. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  183. # runs-on: ${{ matrix.os }}
  184. # steps:
  185. # - uses: actions/checkout@v3
  186. # - name: Run tests
  187. # run: |
  188. # cd tests
  189. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  190. #
  191. # tests-macos15-clang:
  192. # strategy:
  193. # matrix:
  194. # os: [macos-15]
  195. # compiler: [clang++]
  196. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  197. # runs-on: ${{ matrix.os }}
  198. # steps:
  199. # - uses: actions/checkout@v3
  200. # - name: Run tests
  201. # run: |
  202. # cd tests
  203. # bash ./run.sh ${{ matrix.compiler }}
  204. #
  205. # tests-macos26-gpp:
  206. # strategy:
  207. # matrix:
  208. # os: [macos-26]
  209. # compiler: [g++]
  210. # version: [13, 14, 15]
  211. # name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
  212. # runs-on: ${{ matrix.os }}
  213. # steps:
  214. # - uses: actions/checkout@v3
  215. # - name: Run tests
  216. # run: |
  217. # cd tests
  218. # bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
  219. #
  220. # tests-macos26-clang:
  221. # strategy:
  222. # matrix:
  223. # os: [macos-26]
  224. # compiler: [clang++]
  225. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  226. # runs-on: ${{ matrix.os }}
  227. # steps:
  228. # - uses: actions/checkout@v3
  229. # - name: Run tests
  230. # run: |
  231. # cd tests
  232. # bash ./run.sh ${{ matrix.compiler }}
  233. #
  234. # tests-windows-2019:
  235. # strategy:
  236. # matrix:
  237. # os: [windows-2019]
  238. # compiler: [msvc, g++, clang++]
  239. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  240. # runs-on: ${{ matrix.os }}
  241. # steps:
  242. # - uses: actions/checkout@v3
  243. # - name: Run tests
  244. # run: |
  245. # cd tests
  246. # bash ./run.sh ${{ matrix.compiler }}
  247. #
  248. # tests-windows-2022:
  249. # strategy:
  250. # matrix:
  251. # os: [windows-2022]
  252. # compiler: [msvc, g++, clang++]
  253. # name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  254. # runs-on: ${{ matrix.os }}
  255. # steps:
  256. # - uses: actions/checkout@v3
  257. # - name: Run tests
  258. # run: |
  259. # cd tests
  260. # bash ./run.sh ${{ matrix.compiler }}
  261. tests-windows-2025-vs2026:
  262. strategy:
  263. matrix:
  264. os: [windows-2025-vs2026]
  265. compiler: [msvc]
  266. name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
  267. runs-on: ${{ matrix.os }}
  268. steps:
  269. - uses: actions/checkout@v3
  270. - name: Run tests
  271. run: |
  272. cd tests
  273. bash ./run.sh ${{ matrix.compiler }}