aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-25 13:43:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-25 13:43:27 -0700
commit90670595614f8f971366bb6b47b6d54379ff700e (patch)
tree9de9c23de334ed1973c263389fb7a78af7cc1470 /appveyor.yml
parent49cc5850032c9ed856f76b42494b6c8c26bc1e01 (diff)
downloadpandoc-90670595614f8f971366bb6b47b6d54379ff700e.tar.gz
appveyor - workaround for bug in new-install.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 4282e2a41..cc6a311d3 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -29,6 +29,7 @@ environment:
- BUILD_TYPE: "cabal"
OSARCH: "windows-i386"
GHC_VERSION: "8.6.1.1"
+ GHC: "C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.6.1\\bin\\ghc.exe"
CABAL_VERSION: "2.4.0.0"
CABAL_STORE: "C:\\cs"
CABAL_BUILD_OPTS: "--allow-newer=base --allow-newer=template-haskell --allow-newer=containers -flua_32bits -fembed_data_files"
@@ -82,10 +83,13 @@ test_script:
echo "" | stack clean &&
echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
)
+ # Note: the new-repl step is a workaround:
+ # see https://github.com/haskell/cabal/issues/5516
- if "%BUILD_TYPE%" == "cabal" (
cabal --version &&
cabal --store-dir="%CABAL_STORE%" new-update &&
- cabal --store-dir="%CABAL_STORE%" new-install -w C:\ProgramData\chocolatey\lib\ghc\tools\ghc-8.6.1\bin\ghc.exe --symlink-bindir=. %CABAL_BUILD_OPTS% . pandoc-citeproc
+ echo "" | cabal new-repl -w %GHC% --build-dep fail &&
+ cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. %CABAL_BUILD_OPTS% . pandoc-citeproc
)
after_test: