From 4a11e0a450028e044461b282b243e19648818270 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 2 Jun 2016 16:55:46 -0700 Subject: appveyor: try to create msi as artifact. --- appveyor.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 0303a9ddf..150a35996 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,7 @@ cache: build: off install: + - choco install wixtoolset - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 - 7z x stack.zip stack.exe - stack setup > nul @@ -33,8 +34,14 @@ test_script: after_test: # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is) - - 7z a "pandoc.zip" windows\pandoc.exe" + - cd windows + - 7z a "pandoc.zip" pandoc.exe" + - for /f "tokens=2 delims= " %%a in ('pandoc --version') do ( set "VERSION=%%a" && exit ) + - candle -dVERSION="%VERSION%" pandoc.wxs + - light -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj artifacts: - - path: pandoc.zip + - path: windows\pandoc.zip name: exe + - path: windows\pandoc-%VERSION%-windows.msi + name: msi -- cgit v1.2.3