Skip to content

Commit

Permalink
Add Appveyor configuration file for Windows CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
komadori committed Mar 25, 2018
1 parent d2fc2aa commit 0b9b4d2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
build: off

before_test:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;C:\Qt\5.10.1\mingw53_32\bin;%PATH%

- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe

clone_folder: "c:\\stack"
environment:
global:
STACK_ROOT: "c:\\sr"

test_script:
- 'echo resolver: lts-11.1 >stack.yaml'
- 'echo packages: >>stack.yaml'
- 'echo - . >>stack.yaml'
- stack setup > nul
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal test --jobs 1

0 comments on commit 0b9b4d2

Please sign in to comment.