Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
56 lines (45 loc) · 1.55 KB
/
Copy pathjustfile
File metadata and controls
56 lines (45 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Default recipe lists available commands
default:
@just --list
# Run fast workspace check
check:
cargo check --workspace --all-targets
# Run check with all features enabled (including cudarc/gpu)
check-all:
cargo check --workspace --all-targets --all-features
# Check formatting
fmt:
cargo fmt --all --check
# Fix formatting automatically
fmt-fix:
cargo fmt --all
# Run Clippy with warnings as errors
clippy:
cargo clippy --workspace --all-targets --all-features -- -D warnings
# Run workspace unit and integration tests
test:
cargo test --workspace --all-features --locked
# Build public API documentation with the same features exposed on docs.rs
docs:
RUSTDOCFLAGS="-D warnings" cargo doc -p vrp-gpu --all-features --no-deps --locked
# Assemble and verify the future crates.io archive without publishing it
package:
cargo package -p vrp-gpu --allow-dirty --locked
cargo package -p vrp-gpu --list --allow-dirty --locked | grep -Fxq LICENSE
cargo package -p vrp-gpu --list --allow-dirty --locked | grep -Fxq README.md
cargo package -p vrp-gpu --list --allow-dirty --locked | grep -Fxq kernel.ptx
# Run dependency and license check via cargo-deny
deny:
cargo deny check
# Validate the standalone nightly kernel workspace
kernel-ci:
#!/usr/bin/env sh
set -eu
cd crates/vrp-gpu-kernel
cargo fmt --check
cargo check --all-targets
cargo clippy --all-targets -- -D warnings
cargo test
# Full local CI suite (execute before committing or opening a PR)
ci: fmt check-all clippy test docs package deny
@echo "✅ All local CI checks passed!"