-
Notifications
You must be signed in to change notification settings - Fork 35
42 lines (40 loc) · 1.08 KB
/
compile.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
name: OP Succinct
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build_native_programs:
runs-on:
- runs-on
- runner=16cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Compile the range program
run: cargo build --profile release-client-lto
working-directory: programs/range
build_zkvm_programs:
runs-on:
- runs-on
- runner=64cpu-linux-arm64
- run-id=${{ github.run_id }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
source ~/.bashrc
- name: Compile the range program
run: ~/.sp1/bin/cargo-prove prove build --binary range
working-directory: programs/range
- name: Compile the aggregation program
run: ~/.sp1/bin/cargo-prove prove build --binary aggregation
working-directory: programs/aggregation