From 3efb4f5789ddbdac49ea94b74b42d0e14b80b1ff Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Sat, 11 Jun 2016 19:18:09 +0200 Subject: [PATCH] Appveyor: install Ghostscript Creating the docs failed because ps2pdf, a part of Ghostscript, wasn't present on the Appveyor build image. This commits installs and sets up Ghostscript on Appveyor. --- appveyor.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 55246bed0..ee2ab994c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,9 +7,17 @@ environment: - compiler: msys2 - compiler: cygwin +install: + - cinst ghostscript + build_script: + # Add Ghostscript folder to the path so ps2pdf can be called to create docs. + # When executing ps2pdf, 'gs' gets called. On Windows the program is required program is called gswin64c.exe, + # so we create a symlink called 'gs' that points to gswin64c. + - SET PATH="%PATH%;C:\Program Files\gs\gs9.19\lib;C:\Program Files\gs\gs9.19\bin;" + - mklink "C:\Program Files\gs\gs9.19\bin\gs" "C:\Program Files\gs\gs9.19\bin\gswin64c.exe" - ps: >- - cd $env:APPVEYOR_BUILD_FOLDER + cd $env:APPVEYOR_BUILD_FOLDER $BashPath = "" -- 2.50.1