gst-plugins-rs-fallbackswitch/.drone.yml

59 lines
1.2 KiB
YAML
Raw Normal View History

2021-12-05 16:27:09 +01:00
kind: pipeline
type: docker
name: fallbackswitch
clone: { disable: yes }
trigger: { event: tag }
environment:
DRONE_TAG: 0.7.2
CUSTOM_REPO: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
steps:
- name: clone
image: alpine/git
commands:
- echo cloning $CUSTOM_REPO
- git clone $CUSTOM_REPO .
- git checkout $TAG
- name: build
image: debian:11-slim
commands:
- apt-get update
- >-
apt-get install -y --no-install-recommends
autoconf
build-essential
ca-certificates
curl
git
gstreamer1.0-gl
gstreamer1.0-plugins-base
gstreamer1.0-tools
libglib2.0-dev
libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
- curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y
- cd utils/fallbackswitch
- . $HOME/.cargo/env && cargo build --release
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.luj0ga.de
files:
- target/release/libgstfallbackswitch.so
checksum:
- md5
- sha1
- sha256
title: ${DRONE_TAG}