summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-19 15:12:56 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-19 15:12:56 +0200
commitaa6a0bf1926973794eeaf714acaefb65cbceacde (patch)
treea5797ae6910dcb1bc26e9b26830a1024cb0c922d /appveyor.yml
parent0b34f80ffa20bfbaa17ac92042f2f9b19c4e470c (diff)
appveyor.yml updates.
* Don't try to cache ghc, it's too big. * Build both 32 and 64 bit versions.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 8fa972923..d61462224 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,17 +1,22 @@
clone_folder: "c:\\pandoc"
environment:
+ global:
+ WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
+ STACK_YAML: "c:\\pandoc\\stack.pkg.yaml"
matrix:
- STACK_VERSION: "windows-i386"
STACK_ROOT: "c:\\sr32"
STACK: "%STACK_ROOT%\\stack.exe"
- WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
- STACK_YAML: "c:\\pandoc\\stack.pkg.yaml"
+ - STACK_VERSION: "windows-x86_64"
+ STACK_ROOT: "c:\\sr64"
+ STACK: "%STACK_ROOT%\\stack.exe"
cache:
- "%STACK_ROOT%"
- "%WIXBIN%"
- # This is where stack install ghc by default:
- - "c:\\Users\\appveyor\\AppData\\Local\\Programs\\stack"
+ # This is where stack install ghc by default, but we don't
+ # cache it because it's too large:
+ # - "c:\\Users\\appveyor\\AppData\\Local\\Programs\\stack"
# We don't do a normal C build, but build in test_script via stack
build: off
@@ -47,7 +52,7 @@ after_test:
"%WIXBIN%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out pandoc.msi wixobj\*.wixobj
artifacts:
- - path: windows\pandoc.zip
+ - path: %STACK_VERSION%\pandoc.zip
name: exe
- - path: windows\pandoc.msi
+ - path: %STACK_VERSION%\pandoc.msi
name: msi