diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-03-06 06:47:28 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-03-16 19:17:46 -0400 |
commit | ad79ccd9c86ae2eccb625ab7000cf899f23ff840 (patch) | |
tree | 428abff956c9b088672beb06bddcb37d97fe4377 | |
parent | 6764da436ae039645df2af1c1d53f7cd45a9638b (diff) | |
download | haskell-ad79ccd9c86ae2eccb625ab7000cf899f23ff840.tar.gz |
gitlab-ci: Generate documentation tarball
-rw-r--r-- | .gitlab-ci.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a64e805cd3..878a2ff5f3 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 . + |