From 3ce972e1bb798f737a907708e08a4548fe473267 Mon Sep 17 00:00:00 2001 From: pat-s Date: Tue, 13 Aug 2024 18:52:03 +0200 Subject: [PATCH] build --- .woodpecker/build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 8689caf..e998496 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -6,13 +6,13 @@ skip_clone: true matrix: include: - PLATFORM: redhat-9 - BLOCK: 10265:18000 + BLOCK: 14613:18000 - PLATFORM: redhat-8 - BLOCK: 10147:18000 + BLOCK: 14506:18000 - PLATFORM: ubuntu-2404 - BLOCK: 10254:18000 + BLOCK: 14979:21000 - PLATFORM: ubuntu-2204 - BLOCK: 10337:18000 + BLOCK: 14922:21000 steps: - name: 'Build binaries (${PLATFORM}: ${BLOCK})' secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token, GITHUB_PAT] @@ -33,6 +33,8 @@ steps: # rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169 - git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/arm64-r-binaries.git . - rm -rf /mnt/cache/R-pkgs/00LOCK-arm64-r-binaries /mnt/cache/R-pkgs/00LOCK-rBinaries + # for some reason this one is often corrupt on redhat-9 + - rm -rf /mnt/cache/R-pkgs/RPostgres - R -q -e 'pak::pak("dyfanjones/s3fs")' - R -q -e 'devtools::install(); packageVersion("rBinaries")' - mkdir -p /root/.R && /bin/bash -c 'echo -e "CXX_STD = CXX14\nCC=ccache gcc\nCPP=ccache gcc\nCXX=ccache g++\nCXX11=ccache g++\nCXX14=ccache g++\nCXX17=ccache g++\nF77=ccache /usr/bin/gfortran\nFC=ccache /usr/bin/gfortran" > /root/.R/Makevars'