appveyor - another attempt.

This commit is contained in:
John MacFarlane 2018-09-25 14:00:13 -07:00
parent a9a0032c71
commit 1a7958f64b

View file

@ -82,12 +82,12 @@ 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:
# Note: need new-build before new-install:
# see https://github.com/haskell/cabal/issues/5516
- if "%BUILD_TYPE%" == "cabal" (
cabal --version &&
cabal --store-dir="%CABAL_STORE%" new-update &&
echo "" | cabal new-repl -w %GHC% --build-dep fail &&
cabal --store-dir="%CABAL_STORE%" new-build -w %GHC% --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
)