[commit: ghc] master, wip/fix-ghci-ci, wip/pat-builder: gitlab-ci: Generate source tarballs (3f2291e)

git at git.haskell.org git at git.haskell.org
Sun Mar 17 19:07:58 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/3f2291e47b8e00f1312c9be31484ceddd1289212/ghc

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

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

    gitlab-ci: Generate source tarballs


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

3f2291e47b8e00f1312c9be31484ceddd1289212
 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 878a2ff..9d9ebe2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -561,3 +561,21 @@ doc-tarball:
     - ls -lh
     - mv docs/*.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
+      - version
+  script:
+    - mk/get-win32-tarballs.sh download all
+    - ./boot
+    - ./configure
+    - make sdist
+    - mv sdistprep/*.xz  .
+    - make show VALUE=version > version



More information about the ghc-commits mailing list