This commit is contained in:
Patrick Schratz 2024-11-11 12:51:55 +01:00
commit 3040155b7d
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -69,7 +69,7 @@ steps:
# - Rsymphony/ROI.plugin.symphony/adea/PortfolioAnalytics -> can't install/link external SYMPHONY lib (only on RHEL, as for others syslib exists)
# - Rglpk
# biplotbootGUI: somehow ubuntu still hangs even when using xvfb-run
- xvfb-run R -q -e "options(crayon.enabled = TRUE, Ncpus = $NCPUS, future.globals.onReference = NULL, repos = structure(c(devxy = 'https://cran.devxy.io/amd64/rhel9/latest', CRAN = 'https://cloud.r-project.org'))); pkgs <- c('webshot2', 'tabledown', 'TestAnaAPP', 'trekcolors', 'Spectran', 'SimNPH', 'RPushbullet', 'SimDesign', 'simCAT', 'SIAmodules', 'shinytest2', 'ShinyItemAnalysis', 'shinyIRT', 'shiny.benchmark', 'scDIFtest', 'RSP', 'qtkit', 'PROsetta', 'prettifyAddins', 'PerFit', 'outlierensembles', 'nomnoml', 'mxfda', 'MultBiplotR', 'mstDIF', 'mdsr', 'makepipe', 'lordif', 'kequate', 'jstager', 'jrt', 'irtreliability', 'irtQ', 'irtpwr', 'irtGUI', 'irtawsi', 'GRShiny', 'GPCMlasso', 'googletraffic', 'giacR', 'flps', 'flow', 'faoutlier', 'equateIRT', 'EnrichIntersect', 'EFA.dimensions', 'DFIT', 'D3mirt', 'ctgdist', 'CoTiMA', 'ConvertPar', 'bscui', 'BifactorIndicesCalculator', 'autoFC', 'airt'); library(bincraftR); future::plan('$STRATEGY', workers = $NCPUS, rscript_startup = quote(options(crayon.enabled = TRUE))); options(progressr.enable = TRUE); progressr::handlers('cli'); progressr::handlers(global = TRUE); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE, platform = 'redhat-9'))"
- xvfb-run R -q -e "options(crayon.enabled = TRUE, Ncpus = $NCPUS, future.globals.onReference = NULL, repos = structure(c(devxy = 'https://cran.devxy.io/amd64/rhel9/latest', CRAN = 'https://cloud.r-project.org'))); pak::pak('dbplyr'); library(dplyr); library(bincraftR); cran_pkgs = tools::CRAN_package_db()[['Package']]; '%nin%' <- Negate('%in%'); foo = query_metadata_table() |> filter(platform == 'redhat-9', arch == 'amd64') |> distinct(name) |> pull(name); pkgs <- dput(cran_pkgs[cran_pkgs %nin% foo][0:300]); options(progressr.enable = TRUE); progressr::handlers('cli'); progressr::handlers(global = TRUE); foo = lapply(pkgs, function(x) bincraftR::build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE, platform = 'redhat-9'))"
### Manual pkg builds
# webshot2, tabledown, TestAnaAPP, trekcolors, Spectran, SimNPH, RPushbullet, SimDesign, simCAT, SIAmodules, shinytest2, ShinyItemAnalysis, shinyIRT, shiny.benchmark, scDIFtest, RSP, qtkit, PROsetta, prettifyAddins, PerFit, outlierensembles, nomnoml, mxfda, MultBiplotR, mstDIF, mdsr, makepipe, lordif, kequate, jstager, jrt, irtreliability, irtQ, irtpwr, irtGUI, irtawsi, GRShiny, GPCMlasso, googletraffic, giacR, flps, flow, faoutlier, equateIRT, EnrichIntersect, EFA.dimensions, DFIT, D3mirt, ctgdist, CoTiMA, ConvertPar, bscui, BifactorIndicesCalculator, autoFC, airt: wait for https://github.com/rstudio/r-system-requirements/pull/178
# RInno: Windows-only
@ -110,7 +110,7 @@ steps:
cpu: 2000m
limits:
memory: 20Gi
cpu: 4000m
cpu: 3000m
### PROD-sequential
# resources:
# requests:
@ -118,7 +118,7 @@ steps:
# cpu: 2000m
# limits:
# memory: 14Gi
# cpu: 4000m
# cpu: 3000m
# DEBUG
# resources:
# requests: