Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build using --locked #1890

Merged
merged 3 commits into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ build: ## Build the project

.PHONY: build-test
build-test: $(EF_TESTS_DIR) ## Build the project
@cargo build $(TEST_FEATURES)
@cargo build --locked $(TEST_FEATURES)

build-reproducible: build-risc0-docker build-sp1 ## Build the project in release mode with reproducible guest builds
@cargo build --release
@cargo build --release --locked

build-release: ## Build the project in release mode
@cargo build --release
@cargo build --release --locked

clean: ## Cleans compiled
@cargo clean
Expand All @@ -56,7 +56,7 @@ test-legacy: ## Runs test suite with output from tests printed
@cargo test -- --nocapture -Zunstable-options --report-time

test-ci:
RISC0_DEV_MODE=1 PARALLEL_PROOF_LIMIT=1 cargo nextest run --workspace --all-features --no-fail-fast $(filter-out $@,$(MAKECMDGOALS))
RISC0_DEV_MODE=1 PARALLEL_PROOF_LIMIT=1 cargo nextest run --locked --workspace --all-features --no-fail-fast $(filter-out $@,$(MAKECMDGOALS))

coverage-ci:
RISC0_DEV_MODE=1 PARALLEL_PROOF_LIMIT=1 cargo llvm-cov --locked --lcov --output-path lcov.info nextest --workspace --all-features
Expand Down
Loading