From b01a230ec01bccfab3ef3c1cb667f7bb7508f5d7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 25 Jul 2023 20:47:36 +0200 Subject: [PATCH] try to reproduce ruffle issue (#143) --- ci/set_rust_version.bash | 2 +- ci/test.bash | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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