summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-15 23:21:39 -0500
committerBen Gamari <ben@smart-cactus.org>2019-02-20 14:28:54 -0500
commitc1ac8477e79a5ab8fcf554c81d5fae0ab9dc1fd3 (patch)
treef05d84f4b90cf015c1c8adacf7ca1b3f51094450
parent474c31acf8f7bb14fef6d3908ff9cce4ccda69c2 (diff)
downloadhaskell-c1ac8477e79a5ab8fcf554c81d5fae0ab9dc1fd3.tar.gz
gitlab: Collect artifacts on Windows
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f426f385f..9512380995 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]
# ~~~~~~~~~~~~~~~~~~~~~~~~~