gitlab-ci: Add centos7 release job
authorBen Gamari <ben@smart-cactus.org>
Thu, 11 Apr 2019 22:22:51 +0000 (18:22 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 20 Apr 2019 15:55:38 +0000 (11:55 -0400)
.gitlab-ci.yml

index ffe3d95..1c6686d 100644 (file)
@@ -458,6 +458,27 @@ release-x86_64-linux-deb8:
     when: always
     expire_in: 2 week
 
+#################################
+# x86_64-linux-centos7
+#################################
+
+release-x86_64-linux-centos7:
+  extends: .validate-linux
+  stage: full-build
+  image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-centos7:$DOCKER_REV"
+  variables:
+    # The sphinx release shipped with Centos 7 fails to build out documentation
+    BUILD_SPHINX_HTML: "NO"
+    BUILD_SPHINX_PDF: "NO"
+    TEST_ENV: "x86_64-linux-centos7"
+    BIN_DIST_PREP_TAR_COMP: "bindistprep/ghc-x86_64-centos7-linux.tar.xz"
+  only:
+    - tags
+  cache:
+    key: linux-x86_64-centos7
+  artifacts:
+    when: always
+    expire_in: 2 week
 
 #################################
 # x86_64-linux-fedora27