on master help sign in
add artifacts
b09f83aAgentM
.appveyor.yml+14−2
@@ -1,5 +1,7 @@
1build: off
1build: off
2
2
3+version: 1.0.{build}-{branch}
4+
3before_test:
5before_test:
4# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
6# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
5- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
7- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
@@ -7,16 +9,26 @@ before_test:
7- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
9- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
8- 7z x stack.zip stack.exe
10- 7z x stack.zip stack.exe
9
11
10−clone_folder: "c:\\stack"
12+clone_folder: "c:\\project-m36"
13+clone_depth: 2
11environment:
14environment:
12 global:
15 global:
13 STACK_ROOT: "c:\\sr"
16 STACK_ROOT: "c:\\sr"
14
17
18+platform:
19+ - x64
20+
15cache:
21cache:
16 - "c:\\sr"
22 - "c:\\sr"
23+ - "%LocalAppData%\\stack"
17
24
18test_script:
25test_script:
19- stack setup > nul
26- stack setup > nul
20# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
27# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
21# descriptor
28# descriptor
22−- echo "" | stack --no-terminal test
29+- echo "" | stack --no-terminal test
30+- dir pkgdb /b/s
31+
32+artifacts:
33+ - path: .stack-work\dist\*\build\*\*
34+ name: bin