@@ -3,17 +3,30 @@ clone_folder: "c:\\pandoc"
33environment:
44 global:
55 WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
6− STACK_YAML: "c:\\pandoc\\stack.yaml"
76 STACK_BUILD_OPTS: "--no-terminal -j1 --no-terminal --test --local-bin-path=.\\windows"
87 # see #4201, https://github.com/haskell-tools/haskell-tools/issues/277
98 matrix:
109 - STACK_VERSION: "windows-i386"
1110 STACK_ROOT: "c:\\sr32"
11+ STACK_YAML: "stack.lts11.yaml"
1212 STACK: "%STACK_ROOT%\\stack.exe"
1313 STACK_FLAGS: "--flag=hslua:lua_32bits"
1414 ARCH: "x86"
1515 - STACK_VERSION: "windows-x86_64"
1616 STACK_ROOT: "c:\\sr64"
17+ STACK_YAML: "stack.lts11.yaml"
18+ STACK: "%STACK_ROOT%\\stack.exe"
19+ STACK_FLAGS: ""
20+ ARCH: "x64"
21+ - STACK_VERSION: "windows-i386"
22+ STACK_ROOT: "c:\\sr32"
23+ STACK_YAML: "stack.yaml"
24+ STACK: "%STACK_ROOT%\\stack.exe"
25+ STACK_FLAGS: "--flag=hslua:lua_32bits"
26+ ARCH: "x86"
27+ - STACK_VERSION: "windows-x86_64"
28+ STACK_ROOT: "c:\\sr64"
29+ STACK_YAML: "stack.yaml"
1730 STACK: "%STACK_ROOT%\\stack.exe"
1831 STACK_FLAGS: ""
1932 ARCH: "x64"
@@ -55,10 +68,10 @@ test_script:
5568 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
5669 # descriptor
5770 - |
58− %STACK% setup --stack-yaml stack.lts11.yaml > nul
71+ %STACK% setup --stack-yaml %STACK_YAML% > nul
5972 %STACK% path
6073 echo "" | %STACK% clean
61− echo "" | %STACK% install --stack-yaml stack.lts11.yaml %STACK_BUILD_OPTS% pandoc pandoc-citeproc %STACK_FLAGS%
74+ echo "" | %STACK% install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% pandoc pandoc-citeproc %STACK_FLAGS%
6275
6376after_test:
6477 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)