add wp and justfile

This commit is contained in:
Patrick Schratz 2024-06-05 12:16:13 +02:00
commit 19fb6d6dc5
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 29 additions and 0 deletions

10
.woodpecker/build.yaml Normal file
View file

@ -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

19
Justfile Normal file
View file

@ -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