mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-27 01:56:19 +00:00
15 lines
345 B
Bash
15 lines
345 B
Bash
|
#! /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
|