forked from mirrors/gstreamer-rs
Update GStreamer to 1.16.1 and explicitly use Debian buster docker images
This commit is contained in:
parent
132eb891ed
commit
06a9f891bd
1 changed files with 9 additions and 9 deletions
|
@ -10,7 +10,6 @@ stages:
|
||||||
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo_home"
|
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo_home"
|
||||||
DEPENDENCIES: |
|
DEPENDENCIES: |
|
||||||
curl
|
curl
|
||||||
libssl-dev
|
|
||||||
liborc-0.4-dev
|
liborc-0.4-dev
|
||||||
libglib2.0-dev
|
libglib2.0-dev
|
||||||
libxml2-dev
|
libxml2-dev
|
||||||
|
@ -20,13 +19,14 @@ stages:
|
||||||
libgl1-mesa-dri
|
libgl1-mesa-dri
|
||||||
libgl1-mesa-glx
|
libgl1-mesa-glx
|
||||||
libwayland-egl1-mesa
|
libwayland-egl1-mesa
|
||||||
|
xz-utils
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends $DEPENDENCIES
|
- apt-get install -yqq --no-install-recommends $DEPENDENCIES
|
||||||
|
|
||||||
- mkdir -p precompiled-gst && cd precompiled-gst
|
- mkdir -p precompiled-gst && cd precompiled-gst
|
||||||
|
|
||||||
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.16.0.tar.gz | tar xz
|
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.16.1.tar.xz | tar xJ
|
||||||
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
|
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
|
||||||
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
|
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
|
||||||
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
|
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
|
||||||
|
@ -77,19 +77,19 @@ stages:
|
||||||
test 1.36:
|
test 1.36:
|
||||||
# 1.36 img
|
# 1.36 img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:1.36-slim"
|
image: "rust:1.36-slim-buster"
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
test stable:
|
test stable:
|
||||||
# Stable img
|
# Stable img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
test stable all-features:
|
test stable all-features:
|
||||||
# Stable img
|
# Stable img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
variables:
|
variables:
|
||||||
ALL_FEATURES: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
@ -97,21 +97,21 @@ test stable all-features:
|
||||||
test nightly:
|
test nightly:
|
||||||
# Nightly
|
# Nightly
|
||||||
# https://hub.docker.com/r/rustlang/rust/
|
# https://hub.docker.com/r/rustlang/rust/
|
||||||
image: "rustlang/rust:nightly-slim"
|
image: "rustlang/rust:nightly-buster-slim"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
test nightly all-features:
|
test nightly all-features:
|
||||||
# Nightly
|
# Nightly
|
||||||
# https://hub.docker.com/r/rustlang/rust/
|
# https://hub.docker.com/r/rustlang/rust/
|
||||||
image: "rustlang/rust:nightly-slim"
|
image: "rustlang/rust:nightly-buster-slim"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
variables:
|
variables:
|
||||||
ALL_FEATURES: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
stage: "lint"
|
stage: "lint"
|
||||||
script:
|
script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
|
@ -120,7 +120,7 @@ rustfmt:
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
extends: '.tarball_setup'
|
extends: '.tarball_setup'
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
script:
|
script:
|
||||||
- rustup component add clippy-preview
|
- rustup component add clippy-preview
|
||||||
|
|
Loading…
Reference in a new issue