diff options
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 373e1bfe4..5a10fa47d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,10 +36,14 @@ test_script: after_test: # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is) - cd windows - - 7z a "pandoc.zip" pandoc.exe + # allow use of > 2GB memory + # see https://jonathanchang.org/blog/fixing-pandoc-out-of-memory-errors-on-windows/ + - editbin /LARGEADDRESSAWARE "pandoc.exe" + - editbin /LARGEADDRESSAWARE "pandoc-citeproc.exe" - .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html - .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf - copy ..\COPYRIGHT COPYRIGHT.txt + - 7z a "pandoc.zip" pandoc.exe pandoc-citeproc.exe MANUAL.html COPYING.rtf - | set VERSION= for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set "VERSION=%%b" ) |