-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 898 Bytes
/
ci.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
name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_merkletreers_library:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release
merkle_root:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_root tests
run: cargo test merkle_root
merkle_proof:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_proof tests
run: cargo test merkle_proof
merkle_proof_check:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_proof_check tests
run: cargo test merkle_proof_check