From 19fb6d6dc5e1109283adad7cd69f7b871fd68aa9 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 5 Jun 2024 12:16:13 +0200 Subject: [PATCH] add wp and justfile --- .woodpecker/build.yaml | 10 ++++++++++ Justfile | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .woodpecker/build.yaml create mode 100644 Justfile diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml new file mode 100644 index 0000000..766dbba --- /dev/null +++ b/.woodpecker/build.yaml @@ -0,0 +1,10 @@ +steps: + # - name: Check if files already exist + + - name: Build + image: alpine:3.20 + commands: + - apk add --no-cache make just + - just build-r-rhel-9 4.3.3 + volumes: + - /var/run/docker.sock:/var/run/docker.sock diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..6e51a89 --- /dev/null +++ b/Justfile @@ -0,0 +1,19 @@ +build-r-ubuntu-2004 R_VERSION: + export PLATFORM=ubuntu-2004; \ + export R_VERSION={{R_VERSION}}; \ + make build-r-$PLATFORM + +build-r-ubuntu-2204 R_VERSION: + export PLATFORM=ubuntu-2204; \ + export R_VERSION={{R_VERSION}}; \ + make build-r-$PLATFORM + +build-r-centos-8 R_VERSION: + export PLATFORM=centos-8; \ + export R_VERSION={{R_VERSION}}; \ + make build-r-$PLATFORM + +build-r-rhel-9 R_VERSION: + export PLATFORM=rhel-9; \ + export R_VERSION={{R_VERSION}}; \ + make build-r-$PLATFORM