use matrix notation
This commit is contained in:
parent
2417b81357
commit
f938b71bde
1 changed files with 15 additions and 11 deletions
|
|
@ -3,12 +3,14 @@ when:
|
|||
|
||||
skip_clone: true
|
||||
|
||||
# matrix:
|
||||
# include:
|
||||
# - PLATFORM: rhel-9
|
||||
# PLATFORM_ID: el9
|
||||
# - PLATFORM: centos-8
|
||||
# PLATFORM_ID: el8
|
||||
matrix:
|
||||
include:
|
||||
- PLATFORM: rhel-9
|
||||
BLOCK: 650:1050
|
||||
# - PLATFORM: rhel-9
|
||||
# BLOCK: 1051:1450
|
||||
# - PLATFORM: rhel-9
|
||||
# BLOCK: 1451:1450
|
||||
# - PLATFORM: ubuntu-2204
|
||||
# PLATFORM_ID: 2204
|
||||
# - PLATFORM: ubuntu-2404
|
||||
|
|
@ -16,7 +18,7 @@ skip_clone: true
|
|||
# - PLATFORM: opensuse-155
|
||||
# PLATFORM_ID: suse155
|
||||
steps:
|
||||
- name: Build binaries
|
||||
- name: "Build binaries (${PLATFORM}: ${BLOCK})"
|
||||
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token]
|
||||
image: docker.io/pats22/arm-binaries-r-ubi9
|
||||
pull: true
|
||||
|
|
@ -44,7 +46,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 = 6, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][650:1050]; library(rBinaries); future::plan("multisession", workers = 6, 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", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; library(rBinaries); future::plan("multisession", workers = 6, 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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue