Use windows/stack.yaml for appveyor build.
Use released pandoc-citeproc, not git.
This commit is contained in:
parent
4177dbef66
commit
dc0ade3513
4 changed files with 10 additions and 41 deletions
12
appveyor.yml
12
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
|
||||
|
|
|
@ -8,11 +8,6 @@ flags:
|
|||
packages:
|
||||
- '.'
|
||||
extra-deps:
|
||||
- texmath-0.8.6.2
|
||||
- data-default-0.6.0
|
||||
- data-default-instances-base-0.1.0
|
||||
# to compile against aeson 0.11.0.0:
|
||||
# - 'aeson-0.11.0.0'
|
||||
# - 'fail-4.9.0.0'
|
||||
# - 'pandoc-types-1.16.1'
|
||||
resolver: lts-5.8
|
||||
resolver: lts-6.1
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
flags:
|
||||
pandoc:
|
||||
trypandoc: false
|
||||
https: true
|
||||
embed_data_files: true
|
||||
old-locale: false
|
||||
network-uri: true
|
||||
pandoc-citeproc:
|
||||
bibutils: true
|
||||
embed_data_files: true
|
||||
texmath:
|
||||
network-uri: true
|
||||
packages:
|
||||
- '..'
|
||||
extra-deps:
|
||||
- 'hsb2hs-0.3.1'
|
||||
- 'texmath-0.8.6.2'
|
||||
- 'data-default-0.6.0'
|
||||
- 'data-default-instances-base-0.1.0'
|
||||
- 'preprocessor-tools-1.0.1'
|
||||
- 'pandoc-citeproc-0.9.1.1'
|
||||
# to compile against aeson 0.11.0.0:
|
||||
# - 'aeson-0.11.0.0'
|
||||
# - 'fail-4.9.0.0'
|
||||
# - 'pandoc-types-1.16.1'
|
||||
resolver: lts-5.8
|
|
@ -15,6 +15,10 @@ flags:
|
|||
network-uri: true
|
||||
packages:
|
||||
- '..'
|
||||
- '../pandoc-citeproc'
|
||||
extra-deps:
|
||||
- 'hsb2hs-0.3.1'
|
||||
- 'data-default-0.6.0'
|
||||
- 'data-default-instances-base-0.1.0'
|
||||
- 'preprocessor-tools-1.0.1'
|
||||
- 'pandoc-citeproc-0.9.1.1'
|
||||
resolver: lts-6.1
|
||||
|
|
Loading…
Add table
Reference in a new issue