update CI to use risc0 + add zkvm CI testing

This commit is contained in:
Rostyslav Tyshko 2024-11-10 02:45:50 +01:00
parent 9e7407c80f
commit 5b1cb59648

View File

@ -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