Add a woodpecker build

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-07-05 09:56:36 +02:00
parent c4fc6ef30a
commit a0ed3fb001

View File

@ -1,20 +1,17 @@
---
kind: pipeline
type: docker
name: Release paulxstretch
trigger:
# Build a container image
when:
event:
- tag
steps:
- name: Build
image: ubuntu:22.04
build:
image: ubuntu:25.10
name: Build the plugin for linux
commands:
- apt-get update -y
- |
apt-get install -y \
build-essential libasound2 cmake \
build-essential libasound2t64 cmake \
fftw-dev pkg-config libx11-dev \
x11-xserver-utils libxrandr-dev \
libxinerama-dev libxcursor-dev \
@ -25,9 +22,19 @@ steps:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
- cmake --build build
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m
- name: Prepare files for release
image: ubuntu:22.04
package:
name: Prepare files for release
image: ubuntu:25.10
commands:
- apt-get update
- apt-get install zip -y
@ -38,15 +45,16 @@ steps:
- cd /tmp
- |
zip -r paulxstretch-standalone.zip Standalone && \
mv paulxstretch-standalone.zip $DRONE_WORKSPACE/dist/
mv paulxstretch-standalone.zip $CI_WORKSPACE/dist/
- |
zip -r paulxstretch-vst3.zip VST3 && \
mv paulxstretch-vst3.zip $DRONE_WORKSPACE/dist/
mv paulxstretch-vst3.zip $CI_WORKSPACE/dist/
- name: Release paulxstretch
release:
name: Release paulxstretch
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_TOKEN
base_url: https://git.badhouseplants.net
base_url: https://gitea.badhouseplants.net
files: dist/*