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 f065919 commit 4583c8e
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,9 @@ 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'
# if: matrix.os == 'ubuntu-latest'
if: startsWith(matrix.config.os,'ubuntu-')
run: |
sudo apt update --fix-missing
sudo apt upgrade
Expand All @@ -124,14 +112,17 @@ jobs:
shell: bash

- name: Install LaTeX (MacOS)
if: matrix.config.os == 'macos-latest'
run: |
brew update
brew install --cask mactex;
echo "/Library/TeX/texbin/" >> $GITHUB_PATH
# if: matrix.config.os == 'macos-latest'
if: ${{ startsWith(runner.os, 'macos-') }}
# if: ${{ startsWith(runner.os, 'macos-') }}
shell: bash

- name: Install LaTeX (Windows)
if: startsWith(runner.os, 'windows-')
uses: teatimeguest/setup-texlive-action@v3
with:
packages: >-
Expand All @@ -141,7 +132,8 @@ jobs:
cjk
bibtex
# if: matrix.config.os == 'windows-latest'
if: ${{ startsWith(runner.os, 'windows-') }}
# if: ${{ startsWith(runner.os, 'windows-') }}
# shell: bash

- name: Install Doxygen (Ubuntu)
run: |
Expand Down

0 comments on commit 4583c8e

Please sign in to comment.