Skip to content

Building Testing and CI CD

Andrew Paolucci edited this page Nov 28, 2026 · 2 revisions

Building, Testing & CI/CD (guap-e2e)

Prerequisites

  • Rust Toolchain: 1.89+ (edition = "2024").
  • Offline Build Cache: Sibling workspaces (../guap-kit, ../forensics2rust, etc.) and local Cargo cache for --offline execution.
  • Windows Stack Size: .cargo/config.toml sets 16 MiB stack size for deep syn AST and multi-suite runs on Windows MSVC.

Fast Deterministic Harness Tests (No Sibling Workspaces Required)

cargo check --offline --workspace --tests
cargo test --offline -p e2e-fixtures -p e2e-runner
cargo test --offline -p e2e-tiers --test tiers_catalog --test tiers_mock_e2e
cargo test --offline -p e2e-r4 -- --skip live_guap_workspace_compliance_scan

Full Cross-Workspace M6 & Live R4 Tests

When checked out alongside all 13 public GUAP code workspaces:

cargo test --offline --workspace
cargo run --offline --bin guap-e2e -- --all --r4-check --write-test-ready TEST_READY.md

GitHub Actions CI, CodeQL & Policy G10 Releases

  • .github/workflows/ci.yml: Cross-platform CI (ubuntu-latest, windows-latest, macos-latest) running cargo fmt --check, cargo clippy -- -D warnings, cargo test --workspace, and cargo-deny (advisories bans licenses sources).
  • .github/workflows/codeql.yml: Automated GitHub CodeQL static security scanning covering Rust source code and GitHub Actions workflows on pushes, pull requests, and weekly schedules.
  • .github/workflows/release.yml: Governed by GUAP Policy G10 (YYYY.MM.DD-<h4 > UTC date + 4-character lowercase commit SHA Git tags; Cargo SemVer YYYY.M.D+<h4 >) with protected release-approval environments and verifiable checksums/SBOMs.