git.iko.soy/typeable/pandoc
on master help sign in
appveyor - workaround for bug in new-install.
commit90670595614f8f971366bb6b47b6d54379ff700e authorJohn MacFarlane <jgm@berkeley.edu> dateTue 25 Sep 2018, 13:43 (8 years ago) parent49cc585
1 file changed+5−1
appveyor.yml+5−1
appveyor.yml+5−1
@@ -29,6 +29,7 @@ environment:
2929 - BUILD_TYPE: "cabal"
3030 OSARCH: "windows-i386"
3131 GHC_VERSION: "8.6.1.1"
32+ GHC: "C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-8.6.1\\bin\\ghc.exe"
3233 CABAL_VERSION: "2.4.0.0"
3334 CABAL_STORE: "C:\\cs"
3435 CABAL_BUILD_OPTS: "--allow-newer=base --allow-newer=template-haskell --allow-newer=containers -flua_32bits -fembed_data_files"
@@ -82,10 +83,13 @@ test_script:
8283 echo "" | stack clean &&
8384 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
8485 )
86+ # Note: the new-repl step is a workaround:
87+ # see https://github.com/haskell/cabal/issues/5516
8588 - if "%BUILD_TYPE%" == "cabal" (
8689 cabal --version &&
8790 cabal --store-dir="%CABAL_STORE%" new-update &&
88− 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
91+ echo "" | cabal new-repl -w %GHC% --build-dep fail &&
92+ cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. %CABAL_BUILD_OPTS% . pandoc-citeproc
8993 )
9094
9195after_test: