From c6c09872c64c5d9a15b88f7b08a20f67be776a32 Mon Sep 17 00:00:00 2001 From: Franziska Wegner <57569315+franziska-wegner@users.noreply.github.com> Date: Tue, 5 Dec 2023 07:25:24 -0800 Subject: [PATCH] Add latex installation to cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 59451765..a1e0eb0b 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -99,6 +99,32 @@ jobs: # echo "${{github.workspace}}/qt/Qt/${{ env.QT_VERSION }}/${{ env.MINGW_PATH }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append # refreshenv + - name: Install LaTeX (Linux) + run: | + sudo apt update --fix-missing + sudo apt upgrade + sudo apt update + sudo apt-get install texlive texlive-latex-recommended texlive-extra-utils texlive-latex-extra texlive-font-utils + if: startsWith(matrix.config.os,'ubuntu-') + + - name: Install LaTeX (MacOS) + run: | + brew update + brew install --cask mactex; + echo "/Library/TeX/texbin/" >> $GITHUB_PATH + if: matrix.config.os == 'macos-latest' + + - name: Install LaTeX (Windows) + uses: teatimeguest/setup-texlive-action@v3 + with: + packages: >- + scheme-medium + collection-latexextra + babel-dutch + cjk + bibtex + if: matrix.config.os == 'windows-latest' + - name: Install Doxygen (Ubuntu) run: | sudo apt-get install doxygen