Skip to content

Commit e17270e

Browse files
authored
fix: sp1 patches (#28)
* include all clients to workspace * allow to use .env * use include_elf! * cleanup * fix verify-quorum commit * update patches * set correct rsp revision * fix ci * test all examples on CI
1 parent ef17073 commit e17270e

File tree

22 files changed

+199
-11577
lines changed

22 files changed

+199
-11577
lines changed

.github/workflows/pr.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: PR
33
on:
44
push:
55
branches: [main]
6-
pull_request_target:
6+
pull_request:
7+
78
concurrency:
89
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
910
cancel-in-progress: true
1011

1112
jobs:
12-
example:
13-
name: Uniswap example
13+
examples:
14+
name: Test ${{ matrix.example }} example
1415
runs-on:
1516
[
1617
runs-on,
@@ -21,7 +22,14 @@ jobs:
2122
image=ubuntu22-full-x64,
2223
spot=false,
2324
"run-id=${{ github.run_id }}",
24-
]
25+
]
26+
strategy:
27+
matrix:
28+
example:
29+
- uniswap
30+
- multiplexer
31+
- verify-quorum
32+
- example-deploy
2533
env:
2634
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
2735
steps:
@@ -40,13 +48,14 @@ jobs:
4048
- name: "Set up RPC env"
4149
run: |
4250
echo "ETH_RPC_URL=${{secrets.ETH_RPC_URL}}" >> $GITHUB_ENV
51+
echo "ETH_SEPOLIA_RPC_URL=${{secrets.ETH_SEPOLIA_RPC_URL}}" >> $GITHUB_ENV
4352
4453
- name: Run uniswap script
4554
uses: actions-rs/cargo@v1
4655
with:
4756
command: run
4857
args:
49-
--release --bin uniswap --ignore-rust-version
58+
--release --bin ${{ matrix.example }} --ignore-rust-version
5059
env:
5160
RUSTFLAGS: -Copt-level=3 -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
5261
RUST_BACKTRACE: full

0 commit comments

Comments
 (0)