init
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
commit
3b3970b924
|
@ -0,0 +1,34 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: fallbackswitch
|
||||||
|
|
||||||
|
environment:
|
||||||
|
DRONE_TAG: 0.7.2
|
||||||
|
CLONE_URL: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: debian:11-slim
|
||||||
|
commands:
|
||||||
|
|
||||||
|
- apt update
|
||||||
|
- >-
|
||||||
|
apt 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
|
||||||
|
- cd ../..
|
||||||
|
- find target -name '*.so'
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
FROM debian:11-slim
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
RUN apt 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
|
||||||
|
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y
|
||||||
|
|
||||||
|
WORKDIR /opt
|
||||||
|
RUN git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
|
||||||
|
|
||||||
|
WORKDIR /opt/gst-plugins-rs/utils/fallbackswitch
|
||||||
|
RUN . $HOME/.cargo/env && cargo build --release
|
||||||
|
|
||||||
|
WORKDIR /opt/gst-plugins-rs
|
||||||
|
RUN find target/release
|
Loading…
Reference in New Issue