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>
This commit is contained in:
Nikolai Rodionov
2023-03-08 22:24:45 +01:00
committed by Nikolai Rodionov
parent b6175e904a
commit c4fc6ef30a
5 changed files with 87 additions and 6 deletions

52
.drone.yml Normal file
View File

@ -0,0 +1,52 @@
---
kind: pipeline
type: docker
name: Release paulxstretch
trigger:
event:
- tag
steps:
- name: Build
image: ubuntu:22.04
commands:
- 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
- |
cmake -B build -S ./ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
- cmake --build build
- name: Prepare files for release
image: ubuntu:22.04
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 $DRONE_WORKSPACE/dist/
- |
zip -r paulxstretch-vst3.zip VST3 && \
mv paulxstretch-vst3.zip $DRONE_WORKSPACE/dist/
- name: Release paulxstretch
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_TOKEN
base_url: https://git.badhouseplants.net
files: dist/*