aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 930b997..f8dfc42 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,8 +1,15 @@
version: '{build}'
+environment:
+ STACK_ROOT: C:\sr
+
platform:
- i386
- x86_64
+before_build:
+ - curl.exe --silent --show-error --output C:\stack.zip --location --insecure -- "https://get.haskellstack.org/stable/windows-%PLATFORM%.zip"
+ - 7z.exe x "-o%STACK_ROOT%" C:\stack.zip
+
build_script:
- - ps: .\.appveyor\build.ps1
+ - '"%STACK_ROOT%\stack.exe" build --install-ghc --arch "%PLATFORM%"'