paulxstretch/.drone.yml
2023-08-18 15:32:42 +02:00

39 lines
1.0 KiB
YAML

---
kind: pipeline
type: kubernetes
name: Build paulxstretch
trigger:
branch:
exclude:
- main
event:
- push
steps:
- name: Init git submodules with themes
image: alpine/git
commands:
- 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}
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
#