From 86332f44e2d70172b029bf864e3f27132f869d41 Mon Sep 17 00:00:00 2001 From: pat-s Date: Sun, 4 Aug 2024 09:45:48 +0200 Subject: [PATCH] exclude cncaGUI --- .woodpecker/build.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index d61cf15..c640a3b 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -5,15 +5,14 @@ skip_clone: true matrix: include: - # - PLATFORM: redhat-9 - # BLOCK: 1533:18000 - # NB: build 435 -447 + - PLATFORM: redhat-9 + BLOCK: 2746:18000 - PLATFORM: redhat-8 - BLOCK: 1048:18000 - # - PLATFORM: ubuntu-2404 - # BLOCK: 1499:18000 - # - PLATFORM: ubuntu-2204 - # BLOCK: 1533:18000 + BLOCK: 1883:18000 + - PLATFORM: ubuntu-2404 + BLOCK: 2746:18000 + - PLATFORM: ubuntu-2204 + BLOCK: 2746:18000 steps: - name: 'Build binaries (${PLATFORM}: ${BLOCK})' secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token] @@ -43,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, "biplotbootGUI"); 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 = 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}"))' backend_options: kubernetes: ### PROD