Skip to content

Commit

Permalink
CI: Fix macOS pipeline failure (3b1b#1255)
Browse files Browse the repository at this point in the history
* Possible fix for macOS pipeline failure

* Revert back to --cask flag

* Remove cask command

* Remove cleanup command

* Revert "Remove cleanup command"

This reverts commit 63f59be5c9a545cecd3833e3f310af540e67d310.

* Combine brew install statements

* Add --reinstall flag to tlmgr install just in case

* Fix typo

* Isolate dvisvgm.x86_64-darwin installation

* Remove dvisvgm.x86_64-darwin dependency

* Remove legacy dvisvgm package from mac install

* Remove brew update cmd and tlgmr --reinstall flag

Could improve build speed

* Bring back brew update but only upgrade basictex

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
  • Loading branch information
RickyC0626 and behackl committed Apr 5, 2021
1 parent e917b31 commit ace2bda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,13 @@ jobs:
- name: Install system dependencies (MacOS)
if: runner.os == 'macOS'
run: |
brew update && brew upgrade basictex && brew cleanup
brew install openssl readline ffmpeg pyenv pyenv-virtualenv
brew install --cask basictex
eval "$(/usr/libexec/path_helper -s)"
sudo tlmgr update --self
brew install pkg-config
brew install libffi
brew install pango
brew install glib
sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
brew install pkg-config libffi pango glib
sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm rsfs wasy cm-super
echo "/Library/TeX/texbin" >> $GITHUB_PATH
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation/mac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Finally, run
.. code-block:: bash
sudo tlmgr install standalone preview doublestroke relsize fundus-calligra \
wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
wasysym physics dvisvgm rsfs wasy cm-super
Certifying a clean install
Expand Down

0 comments on commit ace2bda

Please sign in to comment.