Feature/egui gui #11
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: backend | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate-linux: | |
| name: Backend validation (shared checks) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: cargo fmt | |
| run: cargo fmt --check | |
| - name: cargo clippy | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: backend tests | |
| run: cargo test --workspace --all-features | |
| - name: backend cli smoke tests | |
| run: cargo test -p maxc-cli | |
| - name: backend perf guardrails | |
| run: cargo run -p maxc-automation --bin perf-harness -- --mode synthetic --profile ci --json | |
| - name: cargo llvm-cov | |
| run: cargo llvm-cov --workspace --all-features --fail-under-lines 85 | |
| validate-windows-runtime: | |
| name: Backend validation (Windows runtime) | |
| needs: validate-linux | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: cargo fmt | |
| run: cargo fmt --check | |
| - name: cargo clippy | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
| - name: backend tests | |
| run: cargo test --workspace --all-features | |
| - name: backend synthetic perf guardrails | |
| run: cargo run -p maxc-automation --bin perf-harness -- --mode synthetic --profile ci --json | |
| - name: backend real runtime perf guardrails | |
| run: cargo run -p maxc-automation --bin perf-harness -- --mode real-runtime --profile ci --json |