mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
Sometimes I accidentally make a test that never finishes and uses all the CPU and memory available. Killing that manually can be impossible, because switching focus to the right terminal requires more CPU and memory than the kernel can spare. Signed-off-by: Lars Wirzenius <liw@liw.fi>
24 lines
334 B
Makefile
24 lines
334 B
Makefile
TESTS =
|
|
|
|
all: check build test doc
|
|
|
|
check:
|
|
cargo clippy --all-targets -- -Dwarnings
|
|
cargo deny check -Dwarnings
|
|
|
|
build:
|
|
cargo build --all-targets
|
|
|
|
fast-test: build
|
|
timeout 60 cargo test -- --skip upgrades $(TESTS)
|
|
|
|
test: fast-test
|
|
timeout 300 cargo test -- $(TESTS)
|
|
|
|
.PHONY: doc
|
|
doc:
|
|
make -C doc
|
|
|
|
semver:
|
|
cargo semver-checks
|