[commit: ghc] master, wip/fix-ghci-ci, wip/pat-builder: gitlab-ci: Generate documentation tarball (ad79ccd)

git at git.haskell.org git at git.haskell.org
Sun Mar 17 19:08:01 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branches: master,wip/fix-ghci-ci,wip/pat-builder
Link       : http://ghc.haskell.org/trac/ghc/changeset/ad79ccd9c86ae2eccb625ab7000cf899f23ff840/ghc

>---------------------------------------------------------------

commit ad79ccd9c86ae2eccb625ab7000cf899f23ff840
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Mar 6 06:47:28 2019 -0500

    gitlab-ci: Generate documentation tarball


>---------------------------------------------------------------

ad79ccd9c86ae2eccb625ab7000cf899f23ff840
 .gitlab-ci.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a64e805..878a2ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,7 @@ stages:
   - build
   - full-build
   - cleanup # See Note [Cleanup on Windows]
+  - packaging
 
 ############################################################
 # Runner Tags
@@ -535,3 +536,28 @@ cleanup-darwin:
     - rm -Rf $BUILD_DIR/*
     - exit 0
 
+############################################################
+# Packaging
+############################################################
+
+doc-tarball:
+  stage: packaging
+  tags:
+    - x86_64-linux
+  image: ghcci/x86_64-linux-deb9:0.2
+  dependencies:
+    - validate-x86_64-linux-deb9
+    - validate-x86_64-windows
+  artifacts:
+    paths:
+      - haddock.html.tar.xz
+      - libraries.html.tar.xz
+      - users_guide.html.tar.xz
+      - index.html
+      - "*.pdf"
+  script:
+    - rm -Rf docs
+    - distrib/mkDocs/mkDocs ghc-x86_64-deb9-linux.tar.xz ghc-x86_64-mingw32.tar.xz
+    - ls -lh
+    - mv docs/*.tar.xz .
+



More information about the ghc-commits mailing list