mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-02 09:53:49 +00:00
ci: Skip gstreamer-d3d12 test on Linux
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1732>
This commit is contained in:
parent
5da724e11a
commit
1e304c960f
3 changed files with 15 additions and 0 deletions
|
@ -12,6 +12,11 @@ CARGO_NEXTEST_FLAGS="--profile=ci --no-tests=pass"
|
||||||
parent="${CI_PROJECT_DIR:-$(pwd)}"
|
parent="${CI_PROJECT_DIR:-$(pwd)}"
|
||||||
|
|
||||||
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
||||||
|
if [[ "$crate" == gstreamer-d3d12* ]]; then
|
||||||
|
echo "Skipping $crate"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -e "$crate/Cargo.toml" ]; then
|
if [ -e "$crate/Cargo.toml" ]; then
|
||||||
if [ -n "$ALL_FEATURES" ]; then
|
if [ -n "$ALL_FEATURES" ]; then
|
||||||
FEATURES="--all-features"
|
FEATURES="--all-features"
|
||||||
|
|
|
@ -26,6 +26,11 @@ get_features() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
||||||
|
if [[ "$crate" == gstreamer-d3d12* ]]; then
|
||||||
|
echo "Skipping $crate"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -e "$crate/Cargo.toml" ]; then
|
if [ -e "$crate/Cargo.toml" ]; then
|
||||||
FEATURES=$(get_features "$crate")
|
FEATURES=$(get_features "$crate")
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,11 @@ CARGO_NEXTEST_FLAGS="--profile=ci --no-tests=pass"
|
||||||
parent="${CI_PROJECT_DIR:-$(pwd)}"
|
parent="${CI_PROJECT_DIR:-$(pwd)}"
|
||||||
|
|
||||||
for crate in gstreamer*/sys gstreamer-gl/*/sys; do
|
for crate in gstreamer*/sys gstreamer-gl/*/sys; do
|
||||||
|
if [[ "$crate" == gstreamer-d3d12* ]]; then
|
||||||
|
echo "Skipping $crate"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -e "$crate/Cargo.toml" ]; then
|
if [ -e "$crate/Cargo.toml" ]; then
|
||||||
echo "Building $crate with --all-features"
|
echo "Building $crate with --all-features"
|
||||||
cargo build $CARGO_FLAGS --locked --manifest-path "$crate/Cargo.toml" --all-features
|
cargo build $CARGO_FLAGS --locked --manifest-path "$crate/Cargo.toml" --all-features
|
||||||
|
|
Loading…
Reference in a new issue