Skip to content

Commit

Permalink
testing windows install
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Apr 18, 2024
1 parent 20d612b commit 1576fcb
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release', rtools: ''}
- {os: windows-latest, r: 'release', rtools: '42'}
- {os: ubuntu-latest, r: 'release', rtools: ''}
- {os: ubuntu-latest, r: 'oldrel-1', rtools: ''}
- {os: ubuntu-latest, r: 'devel', rtools: ''}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -56,16 +52,31 @@ jobs:
use-public-rspm: true
rtools-version: ${{ matrix.config.rtools }}

- name: check build config
run: |
install.packages("pkgbuild")
pkgbuild::check_build_tools(debug = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: NA
extra-packages: |
dplyr
rmarkdown
rcmdcheck
stan-dev/cmdstanr
testthat
- name: check build config
run: |
pkgbuild::check_build_tools(debug = TRUE)
shell: Rscript {0}

- name: Install cmdstanr
run: |
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
shell: Rscript {0}

- name: Install cmdstan
if: runner.os != 'Windows'
run: |
Expand Down

0 comments on commit 1576fcb

Please sign in to comment.