Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Aug 7, 2024

We now do style checks in parallel to cargo test so that style problems will fail fast.

Black-listed clippy 0.1.77 on x86_64-apple-darwin because it is known to crash randomly.

Also added missing style checks for non-mock benchmarks.

wks added 3 commits August 7, 2024 10:36
We now do style checks for all architectures on ubuntu-latest using
cross toolchains.  That makes style check failures manifest faster, and
avoids a crash of `cargo clippy` on macos.

Also fixed missing style checks for non-mock benchmarks.
@wks
Copy link
Collaborator Author

wks commented Aug 7, 2024

cargo clippy needs to cross-compile mimalloc if the host is different from the target. That needs special setup for cross compilation, which is more complicated than running natively. I will simply blacklist cargo clippy 1.77.0 on darwin.

@wks wks changed the title Do CI style checks seperately on ubuntu-latest Parallelize and workaround CI style checks Aug 7, 2024
@wks wks requested a review from qinsoon August 7, 2024 04:27
@wks wks added this pull request to the merge queue Aug 7, 2024
Merged via the queue into mmtk:master with commit 38b3fc3 Aug 7, 2024
@wks wks deleted the fix/ci-style branch August 7, 2024 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants