trim CI config

This commit is contained in:
Patrick Schratz 2024-07-24 18:41:14 +02:00
commit cb8b3c0b3d
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -20,15 +20,12 @@ steps:
pull: true
environment:
GIT_USER: pat-s
# PY_COLORS: 1
commands:
# - echo $TERM
# download latest package version (avoid having to rebuild image every time)
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_RO_TOKEN}"; }; f'
- git clone https://git.devxy.io/devxy/arm64-r-binaries.git && cd arm64-r-binaries
- R CMD INSTALL .
- R -q -e 'cli::cli_sitrep()'
- R -q -e 'options(crayon.enabled = TRUE); pkgs = tools::CRAN_package_db()[[1]][1:2]; library(rBinaries); future::plan("multicore", workers = 2); lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
# - git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_RO_TOKEN}"; }; f'
- git clone https://pat-s@$$GIT_RO_TOKEN@git.devxy.io/devxy/arm64-r-binaries.git && cd arm64-r-binaries
- R CMD INSTALL . > /dev/null
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 2); pkgs = tools::CRAN_package_db()[[1]][1:2]; library(rBinaries); future::plan("multicore", workers = 2); lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
backend_options:
kubernetes:
resources: