File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -e
3
3
rustup default $1
4
- rustup target add $2
4
+ rustup target add $2
Original file line number Diff line number Diff line change @@ -67,4 +67,10 @@ set -x
67
67
$CROSS test --features zlib --target $TARGET_TRIPLE
68
68
$CROSS test --features zlib-default --no-default-features --target $TARGET_TRIPLE
69
69
$CROSS test --features zlib-ng --no-default-features --target $TARGET_TRIPLE
70
- $CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE
70
+ $CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE
71
+
72
+ if command -v cargo-clippy & > /dev/null; then
73
+ $CROSS clippy --features zlib-ng --no-default-features --target $TARGET_TRIPLE
74
+ $CROSS clippy --features zlib --target $TARGET_TRIPLE
75
+ $CROSS clippy --features zlib-default --no-default-features --target $TARGET_TRIPLE
76
+ fi
You can’t perform that action at this time.
0 commit comments