diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-06-03 13:41:48 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-03 13:41:48 -0700 |
commit | dc0ade35131905dcb379d063ddf37ad3b6fee3e6 (patch) | |
tree | d2865e94ec6460aa0b011791ba306f023c1fb4b8 /appveyor.yml | |
parent | 4177dbef6617a76f3c988f966cdb2a2a81ce0c46 (diff) |
Use windows/stack.yaml for appveyor build.
Use released pandoc-citeproc, not git.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml index 36037069b..c23e9be5a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,12 +2,12 @@ clone_folder: "c:\\stack" environment: global: STACK_ROOT: "c:\\sr" - STACK_YAML: "c:\\stack\\windows\\stack-appveyor.yaml" + STACK_YAML: "c:\\stack\\windows\\stack.yaml" WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.10\\bin" cache: - "c:\\sr" # stack root, short paths == fewer problems - - '%LOCALAPPDATA%\Programs\stack' # even less to install... + - "c:\\stack\\stack.exe" - '%WIXBIN%' # We don't do a normal C build, but build in test_script via stack @@ -15,8 +15,8 @@ build: off install: - '"%WIXBIN%"\candle -? || choco install wixtoolset' - - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 - - 7z x stack.zip stack.exe + - | + stack --version || curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 && 7z x stack.zip stack.exe - stack setup > nul before_test: @@ -25,14 +25,10 @@ before_test: # set PATH to where the hsb2hs binary is copied to - cmd: set "PATH=%PATH%;%APPDATA%\\local\\bin" - stack install hsb2hs - # we'll need this to create the MSI - - git clone https://github.com/jgm/pandoc-citeproc test_script: # The ugly echo "" hack is to avoid complaints about 0 being an invalid file # descriptor - - pwd - - where stack - echo "" | stack clean - echo "" | stack --no-terminal test - echo "" | stack --local-bin-path . install pandoc pandoc-citeproc |