[commit: ghc] wip/ghc-8.6-fix-submodules: gitlab: Collect artifacts on Windows (3ad6c60)

git at git.haskell.org git at git.haskell.org
Wed Jan 30 00:25:36 UTC 2019


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

On branch  : wip/ghc-8.6-fix-submodules
Link       : http://ghc.haskell.org/trac/ghc/changeset/3ad6c60e13d0335fe2097ee529d9886d6989df89/ghc

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

commit 3ad6c60e13d0335fe2097ee529d9886d6989df89
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Jan 15 23:21:39 2019 -0500

    gitlab: Collect artifacts on Windows


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

3ad6c60e13d0335fe2097ee529d9886d6989df89
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5538bb9..35aee09 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -367,11 +367,21 @@ validate-x86_64-windows:
       bash -c './configure --with-ghc=`pwd`/toolchain/bin/ghc --enable-tarballs-autodownload HappyCmd=`pwd`/toolchain/bin/happy AlexCmd=`pwd`/toolchain/bin/alex'
     - bash -c "echo include mk/flavours/quick.mk > mk/build.mk"
     - bash -c "PATH=`pwd`/toolchain/bin:$PATH make -j`mk/detect-cpu-count.sh`"
+    - |
+      bash -c "make binary-dist TAR_COMP_OPTS=-1"
+      mv ghc-*.tar.xz ghc.tar.xz
     - bash -c 'make V=0 test THREADS=`mk/detect-cpu-count.sh` JUNIT_FILE=../../junit.xml'
   cache:
     key: x86_64-windows
   tags:
     - x86_64-windows
+  artifacts:
+    when: always
+    reports:
+      junit: junit.xml
+    paths:
+      - ghc.tar.xz
+      - junit.xml
 
 ############################################################
 # Validation via CircleCI



More information about the ghc-commits mailing list