[commit: ghc] wip/ghc-8.8-merges: gitlab: Collect artifacts on Windows (c1ac847)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:09:31 UTC 2019


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

On branch  : wip/ghc-8.8-merges
Link       : http://ghc.haskell.org/trac/ghc/changeset/c1ac8477e79a5ab8fcf554c81d5fae0ab9dc1fd3/ghc

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

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

    gitlab: Collect artifacts on Windows


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

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f426f3..9512380 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -361,11 +361,21 @@ validate-x86_64-windows:
       bash -c './configure --enable-tarballs-autodownload GHC=`pwd`/toolchain/bin/ghc HAPPY=`pwd`/toolchain/bin/happy ALEX=`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
 
 # Note [Cleanup on Windows]
 # ~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the ghc-commits mailing list