-
Notifications
You must be signed in to change notification settings - Fork 14
56 lines (46 loc) · 1.15 KB
/
ci.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
public_input_gen:
name: Public input generation
uses: ./.github/workflows/rust_ci.yaml
with:
directory: public_input_gen
verifier_circuit_tests:
name: Verifying circuit Rust tests
uses: ./.github/workflows/rust_ci.yaml
with:
directory: verifier_circuit_tests
verifier_circuit:
name: Build and test EVM bridge
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./verifier_circuit
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Setup o1js submodule
run: git submodule update --init --recursive
- name: Set up dependencies
run: npm ci
- name: Run npm build
run: npm run build
- name: Run npm test
run: npm run test
integration:
name: Integration test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Run integration test
run: make