forked from succinctlabs/sp1
-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (40 loc) · 1.29 KB
/
eval.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
44
45
46
47
name: Evaluate Performance
on:
schedule:
- cron: "0 0 * * *" # Runs at 00:00 UTC every day
jobs:
benchmark:
name: Benchmark
runs-on: ${{ matrix.runner_label }}
strategy:
matrix:
include:
- runner_label: self-hosted-x86
arch: x86
- runner_label: self-hosted-arm64
arch: arm64
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up git private repo access
run: |
git config --global url."https://${{ secrets.PRIVATE_PULL_TOKEN }}@github.com/".insteadOf ssh://[email protected]
git config --global url."https://${{ secrets.PRIVATE_PULL_TOKEN }}@github.com".insteadOf https://github.com
- name: Setup toolchain
id: rustc-toolchain
run: rustup show
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
sp1up
- name: Build and Run Evaluation
run: |
./eval.sh
- name: Upload Benchmark as Artifact
uses: actions/upload-artifact@v2
with:
name: benchmark-results-${{ matrix.arch }}
path: benchmark.csv