Add explicit Solana Devnet testing results to documentation #47
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: InterLink Unified Architecture CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| protocol_verification: | |
| name: Unified Protocol Verification | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Rust Environment | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| components: rustfmt, clippy | |
| - name: Intelligent Cache Layer | |
| uses: Swatinem/rust-cache@v2 | |
| - name: "Stage 1: Syntax and Security Audit" | |
| run: | | |
| cargo fmt --all -- --check | |
| cargo check --all-targets --all-features | |
| - name: "Stage 2: Clippy Lint Pass" | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: "Stage 3: Core Daemon and Relayer Synthesis" | |
| run: cargo build --verbose | |
| - name: "Stage 4: Halo2 ZK Circuits Compilation" | |
| run: cargo build -p circuits --verbose | |
| - name: "Stage 5: Cosmos Spoke Gateway (WASM)" | |
| run: | | |
| cd contracts/cosmos | |
| cargo build --target wasm32-unknown-unknown --verbose | |
| - name: "Stage 6: High-Fidelity Test Suite Execution" | |
| run: cargo test --all --verbose | |
| - name: "Stage 7: Solana Gateway Hub Integration" | |
| run: | | |
| cd contracts/solana/interlink-hub | |
| cargo test --all --verbose | |
| - name: Generate InterLink CI Summary | |
| if: always() | |
| run: | | |
| echo "## InterLink Protocol v0.7.1 CI" >> $GITHUB_STEP_SUMMARY | |
| echo "### Pipeline Flow" >> $GITHUB_STEP_SUMMARY | |
| echo '```mermaid' >> $GITHUB_STEP_SUMMARY | |
| echo 'graph LR' >> $GITHUB_STEP_SUMMARY | |
| echo ' Setup[Environment Setup] --> Audit[Lint and Audit]' >> $GITHUB_STEP_SUMMARY | |
| echo ' Audit --> Core[Daemon and Relayer]' >> $GITHUB_STEP_SUMMARY | |
| echo ' Audit --> ZK[ZK SNARK Circuits]' >> $GITHUB_STEP_SUMMARY | |
| echo ' Audit --> Contracts[Cross-Chain Gateways]' >> $GITHUB_STEP_SUMMARY | |
| echo ' Core --> Verify[Unified Verification]' >> $GITHUB_STEP_SUMMARY | |
| echo ' ZK --> Verify' >> $GITHUB_STEP_SUMMARY | |
| echo ' Contracts --> Verify' >> $GITHUB_STEP_SUMMARY | |
| echo ' Verify --> Final[Ready for Audit]' >> $GITHUB_STEP_SUMMARY | |
| echo ' style Setup fill:#003366,color:#fff,stroke:#fff,stroke-width:2px' >> $GITHUB_STEP_SUMMARY | |
| echo ' style Final fill:#006600,color:#fff,stroke:#fff,stroke-width:2px' >> $GITHUB_STEP_SUMMARY | |
| echo '```' >> $GITHUB_STEP_SUMMARY | |
| echo "#### Component Matrix" >> $GITHUB_STEP_SUMMARY | |
| echo "| Component | Version | Status |" >> $GITHUB_STEP_SUMMARY | |
| echo "| :--- | :--- | :--- |" >> $GITHUB_STEP_SUMMARY | |
| echo "| **ZK Constraints** | Halo2 / BN254 | ✓ |" >> $GITHUB_STEP_SUMMARY | |
| echo "| **Relayer Runtime** | Tokio 1.x | ✓ |" >> $GITHUB_STEP_SUMMARY | |
| echo "| **Solana Gateway** | Anchor 0.29 | ✓ |" >> $GITHUB_STEP_SUMMARY | |
| echo "| **Cosmos Gateway** | CosmWasm 1.5 | ✓ |" >> $GITHUB_STEP_SUMMARY | |
| echo "| **EVM Gateway** | Solidity 0.8.28 | ✓ |" >> $GITHUB_STEP_SUMMARY |