File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ELF
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ push :
8
+ branches :
9
+ - main
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ elf :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
18
+ with :
19
+ ref : ${{ github.event.pull_request.head.ref }}
20
+ - name : Install SP1 toolchain
21
+ run : |
22
+ curl -L https://sp1.succinct.xyz | bash
23
+ ~/.sp1/bin/sp1up
24
+ ~/.sp1/bin/cargo-prove prove --version
25
+ source ~/.bashrc
26
+ - name : Setup Docker Buildx
27
+ uses : docker/setup-buildx-action@v3
28
+ - name : Verify the OP Succinct binaries
29
+ run : |
30
+ # Build the binaries
31
+ cd programs/range
32
+ ~/.sp1/bin/cargo-prove prove build --elf-name range-elf --docker --tag v4.0.0-rc.3
33
+ cd ../aggregation
34
+ ~/.sp1/bin/cargo-prove prove build --elf-name aggregation-elf --docker --tag v4.0.0-rc.3
35
+ cd ../../
36
+
37
+ # Check for any changes in the elf directory
38
+ if [ -n "$(git status --porcelain elf/)" ]; then
39
+ echo "❌ ELF files changed during build!"
40
+ git diff elf/
41
+ exit 1
42
+ else
43
+ echo "✅ ELF files remained unchanged"
44
+ fi
You can’t perform that action at this time.
0 commit comments