Skip to content

Commit 09465d2

Browse files
committed
Faster compile and test-local-fast make target
1 parent 4baf858 commit 09465d2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ k256 = { version = "0.13.4", default-features = false, features = ["ecdsa", "std
344344
quick_cache = "0.6.16"
345345
# End of EVM dependencies
346346

347+
[profile.dev]
348+
# Keep backtraces useful while reducing debug-link overhead in local builds.
349+
debug = "line-tables-only"
350+
347351
[profile.rust-analyzer-optimized]
348352
inherits = "dev"
349353
debug = false

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ test-all: ## Runs test suite using nextest, across the whole workspace
6363
test-default-features: ## Runs test suite using default features
6464
@cargo nextest run --no-fail-fast --status-level skip
6565

66+
test-fast: ## Runs a fast local test suite (skips guest builds and docker tests)
67+
@SKIP_GUEST_BUILD=1 SP1_SKIP_PROGRAM_BUILD=1 SOV_TEST_SKIP_DOCKER=1 cargo nextest run --no-fail-fast --status-level skip --all-features --profile local-fast
68+
69+
docker-pull-test-images: ## Pre-pull docker images used by integration tests
70+
docker pull ghcr.io/sovereign-labs/celestia-validator-devnet:v6.2.2-mocha
71+
docker pull ghcr.io/sovereign-labs/celestia-bridge-devnet:v0.28.2-mocha
72+
6673
install-dev-tools: ## Installs all necessary dev tools
6774
install-dev-tools: install-cargo-tools install-risc0-toolchain install-sp1-toolchain
6875
rustup update nightly

0 commit comments

Comments
 (0)