Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Dec 5, 2023
1 parent 7e6e015 commit f065919
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,29 @@ 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
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
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
else
echo "$RUNNER_OS not supported"
exit 1
fi
shell: bash

- name: Install LaTeX (Linux)
if: matrix.os == 'ubuntu-latest'
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-')
# if: ${{ startsWith(runner.os, 'ubuntu-') }}
shell: bash

- name: Install LaTeX (MacOS)
run: |
Expand Down

0 comments on commit f065919

Please sign in to comment.