From 77983e9f1a4581c54c91406c14d4393c138f078f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 27 Aug 2020 01:41:42 +0300 Subject: AppVeyor: use choco to install stack --- .appveyor.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8e4dd8b..5949ed1 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,6 @@ version: '{build}' environment: - STACK_ROOT: C:\sr install_dir: C:\Projects\install\windows-env platform: @@ -12,19 +11,11 @@ matrix: fast_finish: true before_build: - - >- - curl.exe - --silent - --show-error - --location - --insecure - --output C:\stack.zip - -- "https://get.haskellstack.org/stable/windows-%PLATFORM%.zip" - - 7z.exe x "-o%STACK_ROOT%" C:\stack.zip + - choco.exe install haskell-stack build_script: - >- - "%STACK_ROOT%\stack.exe" + stack.exe build --install-ghc --copy-bins -- cgit v1.2.3