forked from raysilent/lslforge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
27 lines (21 loc) · 880 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# loosely based on stack's appveyor config
clone_folder: "c:\\stack"
environment:
global:
STACK_ROOT: "c:\\sr"
LSLFORGE_TEST_DATA: "c:\\stack\\lslforge\\testing\\data"
cache:
- "%STACK_ROOT%"
- "%LOCALAPPDATA%\\Programs\\stack"
build: off
install:
- ps: cd lslforge/haskell
- ps: Invoke-WebRequest "https://github.com/commercialhaskell/stack/releases/download/v1.3.2/stack-1.3.2-windows-x86_64.zip" -OutFile stack.zip
- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.exe?raw=true" -OutFile 7z.exe
- ps: Invoke-WebRequest "https://github.com/fpco/minghc/blob/master/bin/7z.dll?raw=true" -OutFile 7z.dll
- 7z x stack.zip stack.*
test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal --install-ghc test
- echo "" | stack install LSLForge