Skip to content

Commit

Permalink
Added windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Aug 26, 2024
1 parent 33545c1 commit 70cd7b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- {os: ubuntu-latest, r: '4.1.0'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'devel'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand All @@ -42,13 +44,24 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-fonts-extra
- name: Install system dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install --cask basictex
sudo /Library/TeX/texbin/tlmgr update --self
sudo /Library/TeX/texbin/tlmgr install inconsolata
echo "/Library/TeX/texbin" >> $GITHUB_PATH
- name: Install system dependencies (Windows)
if: runner.os == 'Windows'
run: |
choco install miktex
miktexsetup finish
initexmf --admin --update-fndb
initexmf --admin --mkmaps
initexmf --admin --mklinks
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand Down

0 comments on commit 70cd7b0

Please sign in to comment.