Skip to content

Commit

Permalink
add cargo clippy runs to see if it can build successfully (rust-lang#143
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Byron committed Jul 25, 2023
1 parent 31867f2 commit 7769ead
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/set_rust_version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
set -e
rustup default $1
rustup target add $2
rustup component add clippy --toolchain $1 --target $2
3 changes: 3 additions & 0 deletions ci/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ libz-ng-sys = { path = "./libz-ng-sys" }
EOF

set -x
$CROSS clippy --features zlib --target $TARGET_TRIPLE
$CROSS test --features zlib --target $TARGET_TRIPLE
$CROSS test --features zlib-default --no-default-features --target $TARGET_TRIPLE
$CROSS clippy --features zlib-default --no-default-features --target $TARGET_TRIPLE
$CROSS test --features zlib-ng --no-default-features --target $TARGET_TRIPLE
$CROSS clippy --features zlib-ng --no-default-features --target $TARGET_TRIPLE
$CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE

0 comments on commit 7769ead

Please sign in to comment.