Skip to content

Commit

Permalink
Speedup cloning experimental rstan
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Apr 22, 2024
1 parent 7584c4d commit 65a0334
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/check-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,18 @@ jobs:
rcmdcheck::rcmdcheck(path = "lgpr", args = c("--no-manual", "--as-cran"), build_args = "--no-manual")
shell: Rscript {0}

- name: Checkout RStan Experimental branch
uses: actions/checkout@v3
with:
repository: stan-dev/rstan
ref: experimental
path: ~/rstan

- name: Install Experimental StanHeaders and Experimental RStan
run: |
Sys.setenv(MAKEFLAGS=paste0("-j",parallel::detectCores()))
remotes::install_github("stan-dev/rstan@experimental", subdir="StanHeaders")
remotes::install_github("stan-dev/rstan@experimental", subdir="rstan/rstan")
install.packages("~/rstan/StanHeaders", type = "source", repos = NULL)
install.packages("~/rstan/rstan/rstan", type = "source", repos = NULL)
shell: Rscript {0}

- name: Check against Experimental StanHeaders and Experimental RStan
Expand Down

0 comments on commit 65a0334

Please sign in to comment.