Skip to content

Commit

Permalink
switch to BasicTex for Mac Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JuKo007 committed Dec 19, 2023
1 parent 1e11cd0 commit 79677b2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/r-cmd-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Cache LaTeX packages
uses: actions/cache@v2
with:
path: |
/usr/local/texlive
~/Library/TinyTeX
~/AppData/Roaming/TinyTeX
key: ${{ runner.os }}-texlive-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: ${{ runner.os }}-texlive-

- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -46,9 +56,9 @@ jobs:
- name: Install macOS system dependencies
if: runner.os == 'macOS'
run: |
brew install --cask mactex
echo "/Library/TeX/texbin" | sudo tee -a /etc/paths
sudo /Library/TeX/texbin/tlmgr update --self --all
brew install --cask basictex
sudo /usr/local/texlive/2021basic/bin/x86_64-darwin/tlmgr update --self --all
echo "/usr/local/texlive/2021basic/bin/x86_64-darwin" | sudo tee -a /etc/paths
- name: Install rJava and other R dependencies
run: |
Expand Down

0 comments on commit 79677b2

Please sign in to comment.