summaryrefslogtreecommitdiff
path: root/.appveyor.sh
diff options
context:
space:
mode:
authormrkkrp <mark.karpov@tweag.io>2018-02-16 18:53:31 +0700
committerBen Gamari <ben@smart-cactus.org>2018-02-27 11:43:56 -0500
commitdf2c3b3364834d2fd038192c89348fc50a2e0475 (patch)
treec700aea560e9ab037e310ae2a2908767a61274c2 /.appveyor.sh
parentb2996f1b81c6c51eedc7ece93de0a6bc0426da5c (diff)
downloadhaskell-df2c3b3364834d2fd038192c89348fc50a2e0475.tar.gz
Build quick flavor and run some tests on Windows
This build fits into the 90 minutes window.
Diffstat (limited to '.appveyor.sh')
-rw-r--r--.appveyor.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/.appveyor.sh b/.appveyor.sh
index 436e54b17a..b7fde233cf 100644
--- a/.appveyor.sh
+++ b/.appveyor.sh
@@ -1,5 +1,8 @@
# Configure the environment
MSYSTEM=MINGW64
+THREADS=3
+SKIP_PERF_TESTS=YES
+BUILD_FLAVOUR=quick
source /etc/profile || true # a terrible, terrible workaround for msys2 brokenness
# Don't set -e until after /etc/profile is sourced
@@ -35,11 +38,19 @@ case "$1" in
# Build the compiler
./boot
./configure --enable-tarballs-autodownload
- make -j2
+ cat <<EOF >> mk/build.mk
+ BuildFlavour=$BUILD_FLAVOUR
+ ifneq "\$(BuildFlavour)" ""
+ include mk/flavours/\$(BuildFlavour).mk
+ endif
+EOF
+ make -j$THREADS
;;
"test")
- make binary_dist
+ # This does not finish in time.
+ # make fasttest THREADS=$THREADS
+ make binary-dist
7z a ghc-windows.zip *.tar.xz
;;