Skip to content

Commit

Permalink
GLCI-only: rtools40 for oldrel-win (R 4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdowle authored Jul 20, 2022
1 parent fda7fd9 commit c4a2085
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ test-old-win: ## R-oldrel on Windows
R_VERSION: "$R_OLDREL_VERSION"
before_script:
- *install-r-oldrel-win
- *install-rtools-win
- $ENV:PATH = "C:\R\bin;C:\rtools42\usr\bin;$ENV:PATH"
- curl.exe -s -o ../rtools.exe https://cloud.r-project.org/bin/windows/Rtools/rtools40-x86_64.exe; Start-Process -FilePath ..\rtools.exe -ArgumentList "/VERYSILENT /DIR=C:\rtools40" -NoNewWindow -Wait
## rtools42 doesn't support 32bit so oldrel-win (currently R 4.1) needs rtools40. Can use install-rtools-win again here when oldrel is R 4.2+
- $ENV:PATH = "C:\R\bin;C:\rtools40\usr\bin;$ENV:PATH"
- Rscript.exe -e "source('.ci/ci.R'); install.packages(dcf.dependencies('DESCRIPTION', which='most', exclude=c('knitr','rmarkdown')), quiet=TRUE)" ## exclude= for #5294
- *cp-src-win
- rm.exe -r bus
Expand Down

0 comments on commit c4a2085

Please sign in to comment.