Commit df2c3b33 authored by mrkkrp's avatar mrkkrp Committed by Ben Gamari
Browse files

Build quick flavor and run some tests on Windows

This build fits into the 90 minutes window.
parent b2996f1b
# Configure the environment # Configure the environment
MSYSTEM=MINGW64 MSYSTEM=MINGW64
THREADS=3
SKIP_PERF_TESTS=YES
BUILD_FLAVOUR=quick
source /etc/profile || true # a terrible, terrible workaround for msys2 brokenness source /etc/profile || true # a terrible, terrible workaround for msys2 brokenness
# Don't set -e until after /etc/profile is sourced # Don't set -e until after /etc/profile is sourced
...@@ -35,11 +38,19 @@ case "$1" in ...@@ -35,11 +38,19 @@ case "$1" in
# Build the compiler # Build the compiler
./boot ./boot
./configure --enable-tarballs-autodownload ./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") "test")
make binary_dist # This does not finish in time.
# make fasttest THREADS=$THREADS
make binary-dist
7z a ghc-windows.zip *.tar.xz 7z a ghc-windows.zip *.tar.xz
;; ;;
......
...@@ -25,6 +25,6 @@ build_script: ...@@ -25,6 +25,6 @@ build_script:
- bash .appveyor.sh test - bash .appveyor.sh test
artifacts: artifacts:
- path: C:\projects\ghc\ghc-windows.zip - path: ghc-windows.zip
name: GHC Windows bindist name: GHC Windows bindist
type: zip type: zip
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment