Files
paulxstretch/.woodpecker/build.yaml
Nikolai Rodionov 9b1728e205
Some checks failed
ci/woodpecker/tag/build Pipeline failed
Fix the token
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 10:00:58 +02:00

61 lines
1.6 KiB
YAML

# Build a container image
when:
event:
- tag
steps:
build:
image: ubuntu:25.10
name: Build the plugin for linux
commands:
- apt-get update -y
- |
apt-get install -y \
build-essential libasound2t64 cmake \
fftw-dev pkg-config libx11-dev \
x11-xserver-utils libxrandr-dev \
libxinerama-dev libxcursor-dev \
libfreetype6-dev libfftw3-dev \
libasound2-dev libjack-dev
- |
cmake -B build -S ./ \
-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
package:
name: Prepare files for release
image: ubuntu:25.10
commands:
- apt-get update
- apt-get install zip -y
- mkdir dist
- export RELEASE_DIR=build/PaulXStretch_artefacts/Release
- cp -r $RELEASE_DIR/Standalone/ /tmp
- cp -r $RELEASE_DIR/VST3/ /tmp
- cd /tmp
- |
zip -r paulxstretch-standalone.zip Standalone && \
mv paulxstretch-standalone.zip $CI_WORKSPACE/dist/
- |
zip -r paulxstretch-vst3.zip VST3 && \
mv paulxstretch-vst3.zip $CI_WORKSPACE/dist/
release:
name: Release paulxstretch
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_TOKEN_PUBLIC
base_url: https://gitea.badhouseplants.net
files: dist/*