From 3caf21a967cf71bf94f129090445c11916424c6f Mon Sep 17 00:00:00 2001 From: Rami Khalil Date: Wed, 6 Nov 2024 08:29:52 +0200 Subject: [PATCH] ci test commands --- .github/workflows/ci.yml | 4 +++- bin/zeth-ethereum/Cargo.toml | 1 + bin/zeth-optimism/Cargo.toml | 1 + crates/zeth/Cargo.toml | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0160bd1..840ef3c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,9 @@ jobs: crate: cargo-binstall - run: cargo binstall -y --force cargo-risczero@1.1.2 - run: cargo risczero install --version r0.1.81.0 - - run: cargo test --workspace --all-targets -F debug-guest-build + - run: cargo test --all-targets -p zeth -p zeth-core -p zeth-preflight -p zeth-guests -F debug-guest-build + - run: cargo test --all-targets -p zeth-core-ethereum -p zeth-preflight-ethereum -p zeth-ethereum -F debug-guest-build + - run: cargo test --all-targets -p zeth-core-optimism -p zeth-preflight-optimism -p zeth-optimism -F debug-guest-build clippy: name: clippy diff --git a/bin/zeth-ethereum/Cargo.toml b/bin/zeth-ethereum/Cargo.toml index ce4ed8c2..b6cd68a7 100644 --- a/bin/zeth-ethereum/Cargo.toml +++ b/bin/zeth-ethereum/Cargo.toml @@ -31,3 +31,4 @@ tracing.workspace = true metal = ["zeth/metal"] cuda = ["zeth/cuda"] disable-dev-mode = ["zeth/disable-dev-mode"] +debug-guest-build = ["zeth-guests/debug-guest-build"] \ No newline at end of file diff --git a/bin/zeth-optimism/Cargo.toml b/bin/zeth-optimism/Cargo.toml index 7a486e5a..821099dc 100644 --- a/bin/zeth-optimism/Cargo.toml +++ b/bin/zeth-optimism/Cargo.toml @@ -31,3 +31,4 @@ tracing.workspace = true metal = ["zeth/metal"] cuda = ["zeth/cuda"] disable-dev-mode = ["zeth/disable-dev-mode"] +debug-guest-build = ["zeth-guests/debug-guest-build"] \ No newline at end of file diff --git a/crates/zeth/Cargo.toml b/crates/zeth/Cargo.toml index f52d9602..3744261e 100644 --- a/crates/zeth/Cargo.toml +++ b/crates/zeth/Cargo.toml @@ -34,3 +34,4 @@ tracing.workspace = true metal = ["risc0-zkvm/metal"] cuda = ["risc0-zkvm/cuda"] disable-dev-mode = ["risc0-zkvm/disable-dev-mode"] +debug-guest-build = ["zeth-guests/debug-guest-build"] \ No newline at end of file