You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

216 lines
4.2 KiB

  1. variables:
  2. GIT_SSL_NO_VERIFY: "1"
  3. # Commit of ghc/ci-images repository from which to pull Docker images
  4. DOCKER_REV: cefaee3c742af193e0f7783f87edb0d35374515c
  5. ############################################################
  6. # CI Step
  7. ############################################################
  8. .debian:
  9. image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
  10. tags:
  11. - x86_64-linux
  12. .darwin:
  13. tags:
  14. - x86_64-darwin
  15. .test_ghcup_version:
  16. script:
  17. - ./.gitlab/script/ghcup_version.sh
  18. .test_ghcup_version:linux:
  19. extends:
  20. - .test_ghcup_version
  21. - .debian
  22. before_script:
  23. - ./.gitlab/before_script/linux/install_deps.sh
  24. .test_ghcup_version:darwin:
  25. extends:
  26. - .test_ghcup_version
  27. - .darwin
  28. before_script:
  29. - ./.gitlab/before_script/darwin/install_deps.sh
  30. ######## shellcheck ########
  31. test:shellcheck:
  32. extends: .debian
  33. before_script:
  34. - ./.gitlab/before_script/linux/install_shellcheck.sh
  35. script: ./.gitlab/script/shellcheck.sh
  36. ######## tarball caching ########
  37. test:tarball_cache:
  38. extends: .debian
  39. variables:
  40. GHC_VERSION: "8.6.5"
  41. script:
  42. - ./.gitlab/script/ghcup_cached_tarball.sh
  43. ######## linux ########
  44. test:linux:recommended:
  45. extends: .test_ghcup_version:linux
  46. variables:
  47. GHC_VERSION: "recommended"
  48. test:linux:latest:
  49. extends: .test_ghcup_version:linux
  50. variables:
  51. GHC_VERSION: "latest"
  52. test:linux:8.0.2:
  53. extends: .test_ghcup_version:linux
  54. variables:
  55. GHC_VERSION: "8.0.2"
  56. test:linux:8.2.2:
  57. extends: .test_ghcup_version:linux
  58. variables:
  59. GHC_VERSION: "8.2.2"
  60. test:linux:8.4.1:
  61. extends: .test_ghcup_version:linux
  62. variables:
  63. GHC_VERSION: "8.4.1"
  64. test:linux:8.4.2:
  65. extends: .test_ghcup_version:linux
  66. variables:
  67. GHC_VERSION: "8.4.2"
  68. test:linux:8.4.3:
  69. extends: .test_ghcup_version:linux
  70. variables:
  71. GHC_VERSION: "8.4.3"
  72. test:linux:8.4.4:
  73. extends: .test_ghcup_version:linux
  74. variables:
  75. GHC_VERSION: "8.4.4"
  76. test:linux:8.6.1:
  77. extends: .test_ghcup_version:linux
  78. variables:
  79. GHC_VERSION: "8.6.1"
  80. test:linux:8.6.2:
  81. extends: .test_ghcup_version:linux
  82. variables:
  83. GHC_VERSION: "8.6.2"
  84. test:linux:8.6.3:
  85. extends: .test_ghcup_version:linux
  86. variables:
  87. GHC_VERSION: "8.6.3"
  88. test:linux:8.6.4:
  89. extends: .test_ghcup_version:linux
  90. variables:
  91. GHC_VERSION: "8.6.4"
  92. test:linux:8.6.5:
  93. extends: .test_ghcup_version:linux
  94. variables:
  95. GHC_VERSION: "8.6.5"
  96. test:linux:8.8.1:
  97. extends: .test_ghcup_version:linux
  98. variables:
  99. GHC_VERSION: "8.8.1"
  100. test:linux:8.8.2:
  101. extends: .test_ghcup_version:linux
  102. variables:
  103. GHC_VERSION: "8.8.2"
  104. ######## darwin ########
  105. test:mac:recommended:
  106. extends: .test_ghcup_version:darwin
  107. variables:
  108. GHC_VERSION: "recommended"
  109. test:mac:latest:
  110. extends: .test_ghcup_version:darwin
  111. variables:
  112. GHC_VERSION: "latest"
  113. test:mac:8.0.2:
  114. extends: .test_ghcup_version:darwin
  115. variables:
  116. GHC_VERSION: "8.0.2"
  117. test:mac:8.2.2:
  118. extends: .test_ghcup_version:darwin
  119. variables:
  120. GHC_VERSION: "8.2.2"
  121. test:mac:8.4.1:
  122. extends: .test_ghcup_version:darwin
  123. variables:
  124. GHC_VERSION: "8.4.1"
  125. test:mac:8.4.2:
  126. extends: .test_ghcup_version:darwin
  127. variables:
  128. GHC_VERSION: "8.4.2"
  129. test:mac:8.4.3:
  130. extends: .test_ghcup_version:darwin
  131. variables:
  132. GHC_VERSION: "8.4.3"
  133. test:mac:8.4.4:
  134. extends: .test_ghcup_version:darwin
  135. variables:
  136. GHC_VERSION: "8.4.4"
  137. test:mac:8.6.1:
  138. extends: .test_ghcup_version:darwin
  139. variables:
  140. GHC_VERSION: "8.6.1"
  141. # TODO: dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
  142. allow_failure: true
  143. test:mac:8.6.2:
  144. extends: .test_ghcup_version:darwin
  145. variables:
  146. GHC_VERSION: "8.6.2"
  147. # TODO: dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
  148. allow_failure: true
  149. test:mac:8.6.3:
  150. extends: .test_ghcup_version:darwin
  151. variables:
  152. GHC_VERSION: "8.6.3"
  153. test:mac:8.6.4:
  154. extends: .test_ghcup_version:darwin
  155. variables:
  156. GHC_VERSION: "8.6.4"
  157. test:mac:8.6.5:
  158. extends: .test_ghcup_version:darwin
  159. variables:
  160. GHC_VERSION: "8.6.5"
  161. test:mac:8.8.1:
  162. extends: .test_ghcup_version:darwin
  163. variables:
  164. GHC_VERSION: "8.8.1"
  165. test:mac:8.8.2:
  166. extends: .test_ghcup_version:darwin
  167. variables:
  168. GHC_VERSION: "8.8.2"