diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-13 12:51:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 12:51:53 (GMT) |
commit | caea821fc6247b4e937a63f07689560cd59ad4ff (patch) | |
tree | 2c925fdae533cbbe82088e59fe5d05b2e905e9a3 | |
parent | 71dea301a7c242231be8a0f38a5fe423b9f39da4 (diff) | |
download | Doxygen-caea821fc6247b4e937a63f07689560cd59ad4ff.zip Doxygen-caea821fc6247b4e937a63f07689560cd59ad4ff.tar.gz Doxygen-caea821fc6247b4e937a63f07689560cd59ad4ff.tar.bz2 |
Update build_cmake.yml
-rw-r--r-- | .github/workflows/build_cmake.yml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index e4c8ebf..0839039 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -66,7 +66,13 @@ jobs: url: "https://miktex.org/download/win/miktexsetup-x64.zip" target: . if: matrix.config.os == 'windows-latest' - + + - 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: . + if: matrix.config.os == 'windows-latest' + - name: Install LaTeX (Linux) run: sudo apt-get install texlive texlive-generic-recommended texlive-extra-utils texlive-latex-extra texlive-font-utils if: matrix.config.os == 'ubuntu-latest' @@ -120,11 +126,16 @@ jobs: choco install winflexbison if: matrix.config.os == 'windows-latest' -# - name: Install Ninja -# uses: seanmiddleditch/gha-setup-ninja@master + - name: Install libiconv (Windows) + run: + 7z e -oiconv libiconv-for-Windows_1.16.7z + + set(ENV{EXTRA_CMAKE_OPTS} "-DICONV_INCLUDE_DIR=iconv/include -DICONV_LIBRARY=iconv/lib/libiconv.lib" + if: matrix.config.os == 'windows-latest' - - name: Setup VS Environment + - name: Setup VS Environment (Windows) uses: seanmiddleditch/gha-setup-vsdevenv@master + if: matrix.config.os == 'windows-latest' - name: Configure shell: cmake -P {0} @@ -142,6 +153,7 @@ jobs: -Dbuild_app=YES -Dbuild_parse=YES -Dbuild_xmlparser=YES + ${EXTRA_CMAKE_OPTS} RESULT_VARIABLE result ) if (NOT result EQUAL 0) |