From 5b1cb596486335e13f741f650113624a51bee6df Mon Sep 17 00:00:00 2001 From: Rostyslav Tyshko Date: Sun, 10 Nov 2024 02:45:50 +0100 Subject: [PATCH] update CI to use risc0 + add zkvm CI testing --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee434f7..1255d3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,10 @@ jobs: profile: minimal toolchain: nightly override: true + - name: install risc0 + if: success() || failure() + run: | + curl -L https://risczero.com/install | bash && rzup install - uses: Swatinem/rust-cache@v2 - run: cargo build @@ -59,6 +63,10 @@ jobs: if: success() || failure() run: | cargo clippy --release -- -D warnings + - name: install risc0 + if: success() || failure() + run: | + curl -L https://risczero.com/install | bash && rzup install - name: install taplo if: success() || failure() run: | @@ -85,9 +93,16 @@ jobs: toolchain: nightly override: true - uses: Swatinem/rust-cache@v2 + - name: install risc0 + if: success() || failure() + run: | + curl -L https://risczero.com/install | bash && rzup install - name: test mempool if: success() || failure() run: cargo test -p mempool - name: test storage if: success() || failure() run: cargo test -p storage + - name: test zkvm + if: success() || failure() + run: cargo test -p zkvm