diff --git a/ci/set_rust_version.bash b/ci/set_rust_version.bash index d822cd56..90c41a0e 100755 --- a/ci/set_rust_version.bash +++ b/ci/set_rust_version.bash @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e rustup default $1 -rustup target add $2 +rustup target add $2 \ No newline at end of file diff --git a/ci/test.bash b/ci/test.bash index f6b60006..274f2d21 100755 --- a/ci/test.bash +++ b/ci/test.bash @@ -67,4 +67,10 @@ set -x $CROSS test --features zlib --target $TARGET_TRIPLE $CROSS test --features zlib-default --no-default-features --target $TARGET_TRIPLE $CROSS test --features zlib-ng --no-default-features --target $TARGET_TRIPLE -$CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE \ No newline at end of file +$CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE + +if rustup component list | grep clippy &>/dev/null; then + git clone https://github.com/ruffle-rs/ruffle + cd ruffle + $CROSS clippy --target $TARGET_TRIPLE +fi