add zkvm compilation github action, rm unneeded #17
Workflow file for this run
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
name: Build and Run zkvm_host | |
on: | |
pull_request: | |
branches: | |
- zkvm | |
jobs: | |
build_and_run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Download & install SP1 | |
run: curl -L https://sp1.succinct.xyz | bash | |
- name: Refresh bash | |
run: source /home/runner/.bashrc | |
- name: Install SP1 | |
run: sp1up | |
- name: Refresh bash | |
run: source /home/runner/.bashrc | |
- name: Push SP1 program | |
run: pushd bin/programs/sp1 | |
- name: Compile the client program | |
run: cargo prove build --ignore-rust-version | |
- name: Pop | |
run: popd | |
- name: Run zkvm_host | |
run: cargo run --manifest-path bin/zkvm_host/Cargo.toml --release | |
timeout-minutes: 20 |