From b7a126438c6e080cce6fe490c979a3e65a62ed33 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 11 Dec 2019 06:27:28 +0300 Subject: AppVeyor: ditch PowerShell --- appveyor.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'appveyor.yml') 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%"' -- cgit v1.2.3