build more packages
This commit is contained in:
parent
5fb33d8df7
commit
632d5b4bbb
1 changed files with 4 additions and 3 deletions
|
|
@ -22,17 +22,18 @@ steps:
|
|||
GIT_USER: pat-s
|
||||
commands:
|
||||
# download latest package version (avoid having to rebuild image every time)
|
||||
# rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169
|
||||
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/arm64-r-binaries.git && cd arm64-r-binaries
|
||||
- R -q -e 'install.packages(".", repos = NULL, quiet = TRUE); packageVersion("rBinaries")'
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 2, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][1:2]; library(rBinaries); future::plan("multisession", workers = 2, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 4, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][1:20]; library(rBinaries); future::plan("multisession", workers = 4, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
requests:
|
||||
memory: 1500Mi
|
||||
cpu: 1000m
|
||||
cpu: 2000m
|
||||
limits:
|
||||
memory: 4000Mi
|
||||
cpu: 2000m
|
||||
cpu: 4000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: 'arm64'
|
||||
|
|
|
|||
Loading…
Reference in a new issue