2 Commits

Author SHA1 Message Date
fcb61f7a94 Add a woodpecker build
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 09:56:36 +02:00
c4fc6ef30a Build with JUCE 7.0.2
Update build and changelog

Switch to docker runners

Fix the source path in build

Fix the release path in build

Use zipped artifacts

build: Install zip

build: Fix commands for the package step

build: Fix zip command

update a bit

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 09:43:52 +02:00
3 changed files with 37 additions and 20 deletions

View File

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

View File

@ -1,9 +1,18 @@
FROM ubuntu AS builder FROM ubuntu:25.10 AS builder
RUN apt-get update -y &&\ RUN apt-get update -y && \
apt-get install -y build-essential libasound2 cmake fftw-dev pkg-config libx11-dev x11-xserver-utils libxrandr-dev libxinerama-dev libxcursor-dev libfreetype6-dev libfftw3-dev libasound2-dev libjack-dev apt-get install -y \
COPY . /src 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
WORKDIR /src WORKDIR /src
RUN cmake -B build -S /src -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev COPY . .
RUN cmake -B build -S /src \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
RUN cmake --build build RUN cmake --build build
FROM ubuntu FROM ubuntu

Binary file not shown.