increase resources
This commit is contained in:
parent
49b399bcad
commit
2fb50a9289
1 changed files with 7 additions and 7 deletions
|
|
@ -35,21 +35,21 @@ steps:
|
|||
- rm -rf /mnt/cache/R-pkgs/00LOCK-arm64-r-binaries
|
||||
- R -q -e 'pak::pak("dyfanjones/s3fs")'
|
||||
- R -q -e 'install.packages(".", repos = NULL, quiet = FALSE); packageVersion("rBinaries")'
|
||||
- mkdir /root/.R && echo -e "CXX_STD = CXX14\nCC=ccache gcc\nCPP=ccache gcc\nCXX=ccache g++\nCXX11=ccache g++\nCXX14=ccache g++\nCXX17=ccache g++\nF77=ccache /usr/bin/gfortran\nFC=ccache /usr/bin/gfortran" > /root/.R/Makevars
|
||||
- mkdir -p /root/.R && echo -e "CXX_STD = CXX14\nCC=ccache gcc\nCPP=ccache gcc\nCXX=ccache g++\nCXX11=ccache g++\nCXX14=ccache g++\nCXX17=ccache g++\nF77=ccache /usr/bin/gfortran\nFC=ccache /usr/bin/gfortran" > /root/.R/Makevars
|
||||
# manually install some packages into the cache so that some builds don't fail
|
||||
# Hmisc -> ABCanalysis
|
||||
- R -q -e 'pak::pak(c("Hmisc", "pls", "abd", "doRNG"))'
|
||||
- R -q -e 'Sys.setenv(PKG_SYSREQS = TRUE, PKG_SYSREQS_VERBOSE = TRUE, PKG_SYSREQS_PLATFORM = "redhat-9"); pak::pak(c("Hmisc", "pls", "abd", "doRNG", "devtools"))'
|
||||
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/binaries /mnt/cache/ccache
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 6, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][20:40]; library(rBinaries); future::plan("multisession", workers = 3, 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 = 6, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][26:40]; library(rBinaries); future::plan("multisession", workers = 5, 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: 5000Mi
|
||||
cpu: 3000m
|
||||
memory: 25Gi
|
||||
cpu: 12000m
|
||||
limits:
|
||||
memory: 6000Mi
|
||||
cpu: 6050m
|
||||
memory: 28Gi
|
||||
cpu: 16000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: 'arm64'
|
||||
# - name: Sleep
|
||||
|
|
|
|||
Loading…
Reference in a new issue