feat: allow custom L1 #229
Workflow file for this run
This file contains hidden or 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 workflow runs on all PRs, and ensures that the ELF files are built correctly. | |
| name: ELF | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| elf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install SP1 toolchain | |
| run: | | |
| curl -L https://sp1.succinct.xyz | bash | |
| ~/.sp1/bin/sp1up | |
| ~/.sp1/bin/cargo-prove prove --version | |
| source ~/.bashrc | |
| - name: Setup Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Verify the OP Succinct binaries | |
| run: | | |
| # Build the binaries | |
| cd canoe/sp1-cc/client | |
| ~/.sp1/bin/cargo-prove prove build --elf-name canoe-sp1-cc-client --docker --tag v5.2.1 --output-directory ../elf | |
| cd ../ | |
| # Check for any changes in the elf directory | |
| if [ -n "$(git status --porcelain elf/)" ]; then | |
| echo "❌ ELF files changed during build!" | |
| git diff | |
| exit 1 | |
| else | |
| echo "✅ ELF files remained unchanged" | |
| fi |