forked from summa-dev/summa-solvency
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (33 loc) · 931 Bytes
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Rust
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version
- name: Test Zk Prover
run: |
cd zk_prover
cargo test --release --features dev-graph -- --nocapture
- name: Test Nova Prover
run: |
cd zk_prover
cargo run --release --example nova_incremental_verifier
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Test backend
run: |
cd backend
cargo test --release -- --nocapture
- name: Test example
run: |
cd backend
cargo run --release --example summa_solvency_flow