File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed
Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ name : run tests
2+ on : push
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Checkout
8+ uses : actions/checkout@v2
9+
10+ - name : print cur dir
11+ run : pwd
12+
13+ - uses : actions-rs/toolchain@v1
14+ - uses : actions-rs/cargo@v1
15+ - run : |
16+ chmod +x ./scripts/setup_circom.sh
17+ ./scripts/setup_circom.sh
18+
19+ - name : Install modules
20+ run : npm install
21+
22+ - name : Run tests
23+ run : npm run test
Original file line number Diff line number Diff line change 88 "scripts" : {
99 "build" : " tsc --project tsconfig.json && cp -r src/vendors dist/vendors" ,
1010 "clean" : " rm -rf dist types" ,
11- "test" : " echo 1 "
11+ "test" : " jest "
1212 },
1313 "keywords" : [
1414 " circom" ,
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # exit on error
4+ set -e
5+
6+ # curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
7+ git clone https://github.com/iden3/circom.git
8+ cd circom
9+ cargo build --release
10+ cargo install --path circom
11+
12+ npm install -g snarkjs
You can’t perform that action at this time.
0 commit comments