diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-11 06:27:28 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-11 06:27:28 +0300 |
commit | b7a126438c6e080cce6fe490c979a3e65a62ed33 (patch) | |
tree | 9e4f0a4b4d2d9d56849f41ded932353cb2788849 /appveyor.yml | |
parent | AppVeyor: don't preserve Set-PSDebug (diff) | |
download | windows-env-b7a126438c6e080cce6fe490c979a3e65a62ed33.tar.gz windows-env-b7a126438c6e080cce6fe490c979a3e65a62ed33.zip |
AppVeyor: ditch PowerShell
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 9 |
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%"' |