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.
This commit is contained in:
parent
0a9368ee35
commit
6ddf78b8a0
1 changed files with 5 additions and 1 deletions
|
@ -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" )
|
||||
|
|
Loading…
Reference in a new issue