mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-23 16:16:25 +00:00
And pass RUST_VERSION to the scripts too. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2006>
14 lines
345 B
Bash
Executable file
14 lines
345 B
Bash
Executable file
#! /bin/bash
|
|
|
|
set -ex
|
|
|
|
rustc --version
|
|
cargo --version
|
|
cargo clippy --version
|
|
|
|
cpus=$(nproc || sysctl -n hw.ncpu)
|
|
CARGO_FLAGS="--color=always -j${FDO_CI_CONCURRENT:-$cpus}"
|
|
|
|
for cfg in "" "--all-features --exclude gst-plugin-gtk4" "--no-default-features"; do
|
|
cargo clippy $CARGO_FLAGS --locked --all --all-targets $cfg -- $CLIPPY_LINTS
|
|
done
|