This commit is contained in:
Patrick Schratz 2024-08-04 09:46:13 +02:00
commit 8813e208e0
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 8 additions and 5 deletions

View file

@ -6,13 +6,13 @@ skip_clone: true
matrix:
include:
- PLATFORM: redhat-9
BLOCK: 2746:18000
BLOCK: 6851:18000
- PLATFORM: redhat-8
BLOCK: 1883:18000
BLOCK: 6750:18000
- PLATFORM: ubuntu-2404
BLOCK: 2746:18000
BLOCK: 7182:18000
- PLATFORM: ubuntu-2204
BLOCK: 2746:18000
BLOCK: 7177:18000
steps:
- name: 'Build binaries (${PLATFORM}: ${BLOCK})'
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
@ -42,7 +42,7 @@ steps:
# more complicated system dependencies which pak cannot resolve
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
# set additional repos: important as otherwise some packages cannot be resolved (e.g. INLA). Also: setting our own binary repos so we can make use of them for dep installation at some point
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 5, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; pkgs = setdiff(pkgs, c("biplotbootGUI", "cncaGUI")); 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, platform = "${PLATFORM}"))'
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 4, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; pkgs = setdiff(pkgs, c("biplotbootGUI", "cncaGUI", "dynBiplotGUI", "ade4TkGUI", "BlockmodelingGUI", "cncaGUI", "EventDetectGUI", "irtGUI", "KappaGUI", "magickGUI", "miniGUI", "multibiplotGUI", "TextMiningGUI")); 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, platform = "${PLATFORM}"))'
backend_options:
kubernetes:
### PROD

View file

@ -144,3 +144,6 @@ Dependency not available: Either because the dependency was not declared or erro
Compiler error: Possible reasons: too old CXX code which cannot be compiled anymore with CXX14 or CXX17.
## Packages skipped on purpose
- `biplotbootGUI` - requires Bwidget which is hardly installable on any distribution and causes a lot of issues due to the need of a virtual frame buffer