From: Erwin Janssen Date: Sat, 11 Jun 2016 17:18:09 +0000 (+0200) Subject: Appveyor: install Ghostscript X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~5^2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3efb4f5789ddbdac49ea94b74b42d0e14b80b1ff;p=graphviz 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. --- 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 = ""