fix: remove cached bincraft dir before install to avoid pak metadata conflict
Some checks failed
ci/crow/manual/build-all-versions-amd64/2 Pipeline failed
ci/crow/manual/build-all-versions-amd64/3 Pipeline failed
ci/crow/manual/build-all-versions-amd64/4 Pipeline failed
ci/crow/manual/build-all-versions-amd64/1 Pipeline failed
ci/crow/manual/build-all-versions-amd64/5 Pipeline failed

This commit is contained in:
Patrick Schratz 2026-04-09 23:37:40 +02:00
commit 0efe1d3485
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -58,7 +58,7 @@ steps:
STRATEGY: sequential
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- rm -rf /mnt/cache/R-pkgs/00LOCK-* /mnt/cache/R-pkgs/bincraft
- git clone -q https://codefloe.com/rpkgs/bincraft.git /tmp/bincraft && R -q -e 'pak::local_install("/tmp/bincraft", upgrade = FALSE); packageVersion("bincraft")'
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
- XVFB=$(command -v xwfb-run 2>/dev/null || command -v xvfb-run)