9 Commits

3 changed files with 20 additions and 37 deletions

View File

@ -1,17 +1,20 @@
# Build a container image ---
when: kind: pipeline
type: docker
name: Release paulxstretch
trigger:
event: event:
- tag - tag
steps: steps:
build: - name: Build
image: ubuntu:25.10 image: ubuntu:22.04
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 libasound2t64 cmake \ build-essential libasound2 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 \
@ -22,19 +25,9 @@ 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
package: - name: Prepare files for release
name: Prepare files for release image: ubuntu:22.04
image: ubuntu:25.10
commands: commands:
- apt-get update - apt-get update
- apt-get install zip -y - apt-get install zip -y
@ -45,16 +38,15 @@ steps:
- cd /tmp - cd /tmp
- | - |
zip -r paulxstretch-standalone.zip Standalone && \ zip -r paulxstretch-standalone.zip Standalone && \
mv paulxstretch-standalone.zip $CI_WORKSPACE/dist/ mv paulxstretch-standalone.zip $DRONE_WORKSPACE/dist/
- | - |
zip -r paulxstretch-vst3.zip VST3 && \ zip -r paulxstretch-vst3.zip VST3 && \
mv paulxstretch-vst3.zip $CI_WORKSPACE/dist/ mv paulxstretch-vst3.zip $DRONE_WORKSPACE/dist/
release: - name: Release paulxstretch
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://gitea.badhouseplants.net base_url: https://git.badhouseplants.net
files: dist/* files: dist/*

View File

@ -1,18 +1,9 @@
FROM ubuntu:25.10 AS builder FROM ubuntu AS builder
RUN apt-get update -y && \ RUN apt-get update -y &&\
apt-get install -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
build-essential libasound2t64 \ COPY . /src
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
COPY . . RUN cmake -B build -S /src -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
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

BIN
paulxstretch-vst3.zip Normal file

Binary file not shown.