Skip to content

Commit f173699

Browse files
authored
fix: v1.2.0-rc2 (#1446)
2 parents 54a8f60 + 004c41d commit f173699

67 files changed

Lines changed: 2372 additions & 506 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/eval.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77
paths:
88
- "crates/**"
9+
- "Cargo.toml"
910
- ".github/workflows/**"
1011

1112
concurrency:

.github/workflows/pr.yml

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: PR
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, dev]
66
pull_request:
77
branches:
88
- "**"
@@ -49,8 +49,6 @@ jobs:
4949
FRI_QUERIES: 1
5050
SP1_DEV: 1
5151

52-
53-
5452
test-x86:
5553
name: Test (x86-64)
5654
runs-on:
@@ -153,6 +151,15 @@ jobs:
153151
env:
154152
CARGO_INCREMENTAL: 1
155153

154+
- name: Add wasm target
155+
run: rustup target add wasm32-unknown-unknown
156+
157+
- name: Check wasm compatibility for sdk
158+
uses: actions-rs/cargo@v1
159+
with:
160+
command: check
161+
args: -p sp1-sdk --target wasm32-unknown-unknown --no-default-features
162+
156163
examples:
157164
name: Examples
158165
runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"]
@@ -221,3 +228,39 @@ jobs:
221228
cargo remove sp1-sdk
222229
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
223230
SP1_DEV=1 RUST_LOG=info cargo run --release -- --prove
231+
232+
performance:
233+
name: Performance
234+
runs-on: [runs-on, family=c7a.48xlarge, "run-id=${{ github.run_id }}"]
235+
env:
236+
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
237+
steps:
238+
- name: Checkout sources
239+
uses: actions/checkout@v4
240+
241+
- name: Setup CI
242+
uses: ./.github/actions/setup
243+
244+
- name: Install SP1 toolchain
245+
run: |
246+
curl -L https://sp1.succinct.xyz | bash
247+
~/.sp1/bin/sp1up
248+
~/.sp1/bin/cargo-prove prove --version
249+
250+
- name: Build program and run script
251+
run: |
252+
cd crates/eval
253+
RUSTFLAGS='-C target-cpu=native' cargo run --release -- \
254+
--programs fibonacci,ssz-withdrawals,tendermint \
255+
--post-to-slack ${{ github.ref == 'refs/heads/dev' }} \
256+
--slack-channel-id "${{ secrets.SLACK_CHANNEL_ID }}" \
257+
--slack-token "${{ secrets.SLACK_TOKEN }}" \
258+
--post-to-github ${{ github.event_name == 'pull_request' }} \
259+
--github-token "${{ secrets.GITHUB_TOKEN }}" \
260+
--repo-owner "${{ github.repository_owner }}" \
261+
--repo-name "${{ github.event.repository.name }}" \
262+
--pr-number "${{ github.event.pull_request.number }}" \
263+
--pr-name "${{ github.event.pull_request.title }}" \
264+
--branch-name "${{ github.head_ref || github.ref_name }}" \
265+
--commit-hash "${{ github.sha }}" \
266+
--author "${{ github.event.pull_request.user.login || github.actor }}"

0 commit comments

Comments
 (0)