forked from mirrors/gstreamer-rs
Update minimum Rust version to 1.36, GStreamer to 1.16.1 and explicitly use Debian buster docker images
This commit is contained in:
parent
1bd4efe6e5
commit
7327666652
1 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,6 @@ stages:
|
||||||
G_DEBUG: "fatal_warnings"
|
G_DEBUG: "fatal_warnings"
|
||||||
DEPENDENCIES: |
|
DEPENDENCIES: |
|
||||||
curl
|
curl
|
||||||
libssl-dev
|
|
||||||
liborc-0.4-dev
|
liborc-0.4-dev
|
||||||
libglib2.0-dev
|
libglib2.0-dev
|
||||||
libxml2-dev
|
libxml2-dev
|
||||||
|
@ -23,6 +22,7 @@ stages:
|
||||||
libgl1-mesa-dri
|
libgl1-mesa-dri
|
||||||
libgl1-mesa-glx
|
libgl1-mesa-glx
|
||||||
libwayland-egl1-mesa
|
libwayland-egl1-mesa
|
||||||
|
xz-utils
|
||||||
|
|
||||||
<<: *cache
|
<<: *cache
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -35,7 +35,7 @@ stages:
|
||||||
|
|
||||||
- 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
|
||||||
|
@ -78,29 +78,29 @@ stages:
|
||||||
cargo test -p $crate; \
|
cargo test -p $crate; \
|
||||||
done
|
done
|
||||||
|
|
||||||
test 1.31:
|
test 1.36:
|
||||||
# 1.31 img
|
# 1.36 img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:1.31-slim"
|
image: "rust:1.36-slim-buster"
|
||||||
<<: *cargo_test
|
<<: *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"
|
||||||
<<: *cargo_test
|
<<: *cargo_test
|
||||||
|
|
||||||
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
|
||||||
<<: *cargo_test
|
<<: *cargo_test
|
||||||
|
|
||||||
.cargo_cross_check_template: &cargo_cross_check
|
.cargo_cross_check_template: &cargo_cross_check
|
||||||
# Stable img
|
# Stable img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
stage: "test"
|
stage: "test"
|
||||||
variables:
|
variables:
|
||||||
PKG_CONFIG: "true"
|
PKG_CONFIG: "true"
|
||||||
|
@ -116,7 +116,7 @@ test nightly:
|
||||||
- cargo check --target $CROSS_TARGET_TRIPLET --all --all-features --color=always
|
- cargo check --target $CROSS_TARGET_TRIPLET --all --all-features --color=always
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
image: "rust:slim"
|
image: "rust:slim-buster"
|
||||||
stage: "lint"
|
stage: "lint"
|
||||||
script:
|
script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
|
|
Loading…
Reference in a new issue