Skip to content

Commit 810efae

Browse files
committed
Disable Clippy tests for Darwin.
1 parent 4bab602 commit 810efae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/scripts/ci-style.sh

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
export RUSTFLAGS="-D warnings -A unknown-lints"
44

5+
# --- Check format ---
6+
cargo fmt -- --check
7+
cargo fmt --manifest-path=macros/Cargo.toml -- --check
8+
9+
# All versions of Clippy randomly crash on Darwin. We disable Clippy tests for Darwin for now.
10+
if [[ $(uname) == "Darwin" ]]; then
11+
exit 0
12+
fi
13+
514
# Workaround the clippy issue on Rust 1.72: https://github.com/mmtk/mmtk-core/issues/929.
615
# If we are not testing with Rust 1.72, or there is no problem running the following clippy checks, we can remove this export.
716
CLIPPY_VERSION=$(cargo clippy --version)

0 commit comments

Comments
 (0)