basecamp: functional GUI — live borsh-decoded state via getAccount, c… #32
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
| name: CI | |
| on: | |
| push: | |
| branches: [main, v020-port] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }} | |
| - name: Unit tests (state machine + SDK) | |
| run: cargo test --release -p private-multisig-program -p private-multisig-sdk | |
| - name: Build CLI | |
| run: cargo build --release -p private-multisig-cli | |
| - name: Install risc0 toolchain (guest build) | |
| run: | | |
| curl -sSfL https://risczero.com/install | bash | |
| ~/.risc0/bin/rzup install rust | |
| - name: Build guest program ELF | |
| working-directory: programs/multisig | |
| run: cargo +risc0 build --release --target riscv32im-risc0-zkvm-elf | |
| # Full end-to-end against a locally-booted STANDALONE LEZ v0.2.0 sequencer. | |
| # RISC0_DEV_MODE=1 so the flow finishes without ~minutes-per-vote STARKs; | |
| # the real-proof run is the recorded demo + testnet evidence (see docs/). | |
| e2e-sequencer: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 120 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo + LEZ build | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| programs/multisig/target | |
| .lez | |
| key: ${{ runner.os }}-e2e-lez-v0.2.0-${{ hashFiles('**/Cargo.toml') }} | |
| restore-keys: ${{ runner.os }}-e2e-lez-v0.2.0- | |
| - name: Install risc0 toolchain + r0vm | |
| run: | | |
| curl -sSfL https://risczero.com/install | bash | |
| ~/.risc0/bin/rzup install rust | |
| ~/.risc0/bin/rzup install r0vm | |
| - name: End-to-end demo (dev mode) | |
| run: ./demo.sh --dev | |
| - name: Sequencer log on failure | |
| if: failure() | |
| run: tail -120 .demo/seq.log |