[commit: ghc] wip/dwarf-release: gitlab-ci: Generate source tarballs (15ca587)

git at git.haskell.org git at git.haskell.org
Wed Feb 20 14:59:53 UTC 2019


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

On branch  : wip/dwarf-release
Link       : http://ghc.haskell.org/trac/ghc/changeset/15ca587e716f5b8a89a471fb0708d86c7024f71e/ghc

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

commit 15ca587e716f5b8a89a471fb0708d86c7024f71e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Feb 19 10:00:02 2019 -0500

    gitlab-ci: Generate source tarballs


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

15ca587e716f5b8a89a471fb0708d86c7024f71e
 .gitlab-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 78ba746..ff03933 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -445,6 +445,22 @@ doc-tarball:
     - rm -Rf docs
     - distrib/mkDocs/mkDocs ghc-bindist-x86_64-unknown-linux.tar.xz ghc-bindist-x86_64-unknown-mingw32.tar.xz
 
+source-tarball:
+  stage: packaging
+  tags:
+    - x86_64-linux
+  image: ghcci/x86_64-linux-deb9:0.2
+  only: tags
+  artifacts:
+    paths:
+      - ghc-*.tar.xz
+  script:
+    - mk/get-win32-tarballs.sh download all
+    - ./boot
+    - ./configure
+    - make sdist
+    - mv sdistprep/*.xz  .
+
 # Note [Cleaning up after shell executor]
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 #



More information about the ghc-commits mailing list