summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-06 13:43:04 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-06 13:43:04 (GMT)
commit01f47d774853df491c10f9dcd48f342dddcecee0 (patch)
tree43b48238486e02b5dba772b464b82ba1b00042de /.github
parent1b6988027dbe28b4c666bef0abc8e1c045ebd830 (diff)
downloadDoxygen-01f47d774853df491c10f9dcd48f342dddcecee0.zip
Doxygen-01f47d774853df491c10f9dcd48f342dddcecee0.tar.gz
Doxygen-01f47d774853df491c10f9dcd48f342dddcecee0.tar.bz2
Determine ghostscipt directory (Windows)
Detremine the gostscript directory in a more system and version independent way for Windows.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_cmake.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index d5964f6..69e4bc0 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -63,7 +63,8 @@ jobs:
build_gen: "NMake Makefiles"
}
steps:
- - uses: actions/checkout@v1
+ - name: Checkout doxygen
+ uses: actions/checkout@v1
- name: Download MikTex (Windows)
run: |
@@ -81,7 +82,8 @@ jobs:
shell: pwsh
if: matrix.config.os == 'windows-latest'
- - uses: suisei-cn/actions-download-file@v1
+ - name: Install libiconv (Windows)
+ uses: suisei-cn/actions-download-file@v1
with:
url: "https://github.com/pffang/libiconv-for-Windows/releases/download/v1.16/libiconv-for-Windows_1.16.7z"
target: .
@@ -163,10 +165,10 @@ jobs:
- name: Setting Ghostscript paths (Windows)
shell: bash
run: |
- echo "C:/Program Files (x86)/gs/gs9.54.0/bin/" >> $GITHUB_PATH
- echo "C:/Program Files/gs/gs9.54.0/bin/" >> $GITHUB_PATH
- export PATH="/c/Program Files (x86)/gs/gs9.54.0/bin/:$PATH"
- export PATH="/c/Program Files/gs/gs9.54.0/bin/:$PATH"
+ export GSpath=`find /c/Prog* -name gswin\*c.exe | sed -e "s/gswin.*c.exe//"`
+ export PATH="$GSpath:$PATH"
+ export GSpath=`echo "$GSpath" | sed -e "s%/c%C:%"`
+ echo "$GSpath" >> $GITHUB_PATH
if: matrix.config.os == 'windows-latest'
- name: Install xmllint (Linux)