librespot-build/.drone.yml

25 lines
492 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: build-linux-x64
image: rust:latest
commands:
- apt-get update
- apt-get install -y libasound2-dev
- cargo install librespot
- name: publish
image: plugins/gitea-release
depends_on:
- build-linux-x64
when:
event:
- tag
settings:
base_url: https://git.jacknet.io
api_key:
from_secret: gitea_token
files:
- /usr/local/cargo/bin/librespot