forked from succinctlabs/sp1-helios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixes to CI + add new CI job for testing program (succinctlabs#15)
* remove get_execute_state_proof * cleanup * formatting * formatting * formatting * clean * updates to sync_committee_updates * formatting * ci job * sp1 toolchain * single operator * test * clean
- Loading branch information
Showing
4 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Run Program | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: | ||
- "**" | ||
merge_group: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run_program: | ||
name: Test SP1 Helios Program | ||
runs-on: [runs-on, runner=4cpu-linux-arm64 , "run-id=${{ github.run_id }}"] | ||
env: | ||
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
- name: Install SP1 toolchain | ||
run: | | ||
curl -L https://sp1.succinct.xyz | bash | ||
~/.sp1/bin/sp1up | ||
~/.sp1/bin/cargo-prove prove --version | ||
source ~/.bashrc | ||
- name: Run test | ||
run: | | ||
cd script | ||
cargo run --bin test | ||
env: | ||
SOURCE_CONSENSUS_RPC_URL: ${{ secrets.SOURCE_CONSENSUS_RPC_URL }} | ||
SOURCE_CHAIN_ID: ${{ secrets.SOURCE_CHAIN_ID }} | ||
CONTRACT_ADDRESS: ${{ secrets.CONTRACT_ADDRESS }} | ||
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | ||
DEST_RPC_URL: ${{ secrets.DEST_RPC_URL }} | ||
DEST_CHAIN_ID: ${{ secrets.DEST_CHAIN_ID }} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters