diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index ebc4fe45..ba4369f2 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 @@ -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: >- @@ -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: |