Update the drone pipeline
This commit is contained in:
parent
ee5dc2ada3
commit
7ba9ec7135
24
.drone.yml
24
.drone.yml
@ -19,6 +19,7 @@ steps:
|
||||
- name: Build
|
||||
image: ubuntu:22.04
|
||||
commands:
|
||||
- git submodule update --init --recursive --progress
|
||||
- apt-get update -y
|
||||
- |
|
||||
apt-get install -y \
|
||||
@ -32,29 +33,6 @@ steps:
|
||||
cmake -B build -S ./ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
||||
- git submodule update --init --recursive --progress
|
||||
- git submodule update --init --recursive
|
||||
- name: Build and push the docker image
|
||||
image: plugins/docker
|
||||
when:
|
||||
branch:
|
||||
- dev
|
||||
settings:
|
||||
registry: git.badhouseplants.net
|
||||
username: allanger
|
||||
password:
|
||||
from_secret: GITEA_TOKEN
|
||||
repo: git.badhouseplants.net/${DRONE_REPO}
|
||||
dockerfile: Containerfile
|
||||
tags: latest
|
||||
|
||||
- name: Build the Linux version
|
||||
image: ubuntu
|
||||
commands:
|
||||
- apt update -y
|
||||
- apt 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 $DRONE_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
||||
- cmake --build build
|
||||
|
||||
- name: Prepare files for release
|
||||
image: ubuntu:22.04
|
||||
|
Loading…
Reference in New Issue
Block a user