summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-15 17:42:10 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-15 17:42:10 +0200
commit6ddf78b8a00e65a257f41593623f0efd0db7ecf4 (patch)
tree0962f2e80a1949697ab6d62acb2495f1009b211f /appveyor.yml
parent0a9368ee35c6d31a9aaa9ebd5c48dae75f3599e3 (diff)
appveyor.yml: make executables LARGEADDRESSAWARE
using editbin, which comes with VisualStudio. This should help with #3669 (needs testing). Previously our executables could only access 2GB memory on Windows, even in 64 bit systems with lots of memory.
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 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" )