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