-
Notifications
You must be signed in to change notification settings - Fork 11
58 lines (48 loc) · 1.19 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
57
58
name: CI
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
kzg_prover:
name: KZG Prover
uses: ./.github/workflows/rust_ci.yaml
with:
directory: kzg_prover
skip_run: true
public_input_gen:
name: Public input generation
uses: ./.github/workflows/rust_ci.yaml
with:
directory: public_input_gen
verify_circuit_tests:
name: Verifying circuit Rust tests
uses: ./.github/workflows/rust_ci.yaml
with:
directory: verify_circuit_tests
evm_bridge:
name: Build and test EVM bridge
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./evm_bridge
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install opam
run: sudo apt-get install opam liblmdb-dev && opam init
- name: Set up dependencies
run: npm ci
- name: Cache opam packages
uses: actions/cache@v3
with:
path: /home/runner/.opam
- name: Run npm build
run: npm run build
- name: Run npm test
run: npm run test