fix: build risc0 bins to different target directories

This commit is contained in:
Daniil Polyakov 2025-12-18 01:51:21 +03:00
parent 56f8df1d2b
commit 45670902d1
17 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ build-artifacts:
@echo "🔨 Building artifacts" @echo "🔨 Building artifacts"
@for methods_path in {{METHODS_PATH}} {{TEST_METHODS_PATH}}; do \ @for methods_path in {{METHODS_PATH}} {{TEST_METHODS_PATH}}; do \
echo "Building artifacts for $methods_path"; \ echo "Building artifacts for $methods_path"; \
cargo risczero build --manifest-path $methods_path/guest/Cargo.toml; \ CARGO_TARGET_DIR=target/$methods_path cargo risczero build --manifest-path $methods_path/guest/Cargo.toml; \
mkdir -p {{ARTIFACTS}}/$methods_path; \ mkdir -p {{ARTIFACTS}}/$methods_path; \
cp target/riscv32im-risc0-zkvm-elf/docker/*.bin {{ARTIFACTS}}/$methods_path; \ cp target/$methods_path/riscv32im-risc0-zkvm-elf/docker/*.bin {{ARTIFACTS}}/$methods_path; \
done done

Binary file not shown.

Binary file not shown.