aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-08-27 01:41:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-08-27 01:41:42 +0300
commit77983e9f1a4581c54c91406c14d4393c138f078f (patch)
tree04be541972cad0ecf97f9d12b7260f7bae08261a
parentAppVeyor: fast_finish (diff)
downloadwindows-env-77983e9f1a4581c54c91406c14d4393c138f078f.tar.gz
windows-env-77983e9f1a4581c54c91406c14d4393c138f078f.zip
AppVeyor: use choco to install stack
-rw-r--r--.appveyor.yml13
1 files 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