[commit: ghc] master: gitlab-ci: Run Windows builds via make as well (554ffe9)
git at git.haskell.org
git at git.haskell.org
Mon Dec 17 17:45:30 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/554ffe9688a69d8866e6fa379860631d1b633342/ghc
>---------------------------------------------------------------
commit 554ffe9688a69d8866e6fa379860631d1b633342
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Dec 16 11:30:30 2018 -0500
gitlab-ci: Run Windows builds via make as well
>---------------------------------------------------------------
554ffe9688a69d8866e6fa379860631d1b633342
.gitlab-ci.yml | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a48c195..fd0afa7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -233,10 +233,10 @@ validate-x86_64-linux-deb9-unreg:
key: linux-x86_64-deb9
############################################################
-# Validation via Pipelines (make, Windows)
+# Validation via Pipelines (Windows)
############################################################
-validate-x86_64-windows:
+validate-x86_64-windows-hadrian:
stage: build
variables:
GHC_VERSION: "8.6.2"
@@ -255,7 +255,7 @@ validate-x86_64-windows:
- bash -c 'make V=0 -j`mk/detect-cpu-count.sh` HADDOCK_DOCS=NO test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
- cp -Rf $APPDATA/cabal cabal-cache
cache:
- key: windows
+ key: windows-hadrian
paths:
- cabal-cache
- ghc-8.6.2
@@ -263,6 +263,28 @@ validate-x86_64-windows:
tags:
- x86_64-windows
+validate-x86_64-windows:
+ stage: build
+ variables:
+ GHC_VERSION: "8.6.2"
+ script:
+ - bash -e .gitlab/win32-init.sh
+ - |
+ set MSYSTEM=MINGW64
+ python boot
+ bash -c './configure --with-ghc=`pwd`/toolchain/bin/ghc --enable-tarballs-autodownload HappyCmd=`pwd`/toolchain/bin/happy AlexCmd=`pwd`/toolchain/bin/alex'
+ - bash -c "PATH=`pwd`/toolchain/bin:$PATH make -j`mk/detect-cpu-count.sh`"
+ - mv ghc-*.tar.xz ghc.tar.xz
+ - bash -c 'make V=0 -j`mk/detect-cpu-count.sh` HADDOCK_DOCS=NO test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
+ - cp -Rf $APPDATA/cabal cabal-cache
+ cache:
+ key: windows
+ paths:
+ - cabal-cache
+ - ghc-8.6.2
+ - ghc-tarballs
+ tags:
+ - x86_64-windows
############################################################
# Validation via CircleCI
More information about the ghc-commits
mailing list