fix(crypto/ci): repair Keccak-256 KAT, purge claims_audit pseudo-inferences, enforce boolean release gate, package zymatica_cli
Browse files
.github/workflows/production_verification_ci.yml
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Zymatica Production Engine CI/CD & Verification Battery
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches: [main, master]
|
| 6 |
+
pull_request:
|
| 7 |
+
branches: [main, master]
|
| 8 |
+
|
| 9 |
+
permissions:
|
| 10 |
+
contents: read
|
| 11 |
+
|
| 12 |
+
env:
|
| 13 |
+
CARGO_TERM_COLOR: always
|
| 14 |
+
RUST_BACKTRACE: "1"
|
| 15 |
+
|
| 16 |
+
jobs:
|
| 17 |
+
multi-arch-build-and-test:
|
| 18 |
+
name: Multi-Architecture Native Build & Test (${{ matrix.os }})
|
| 19 |
+
runs-on: ${{ matrix.os }}
|
| 20 |
+
strategy:
|
| 21 |
+
fail-fast: false
|
| 22 |
+
matrix:
|
| 23 |
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
| 24 |
+
|
| 25 |
+
steps:
|
| 26 |
+
- name: Checkout Codebase
|
| 27 |
+
uses: actions/checkout@v4
|
| 28 |
+
|
| 29 |
+
- name: Setup Rust 1.98.0
|
| 30 |
+
uses: dtolnay/rust-toolchain@stable
|
| 31 |
+
with:
|
| 32 |
+
toolchain: 1.98.0
|
| 33 |
+
components: rustfmt, clippy
|
| 34 |
+
|
| 35 |
+
- name: Rust Toolchain Evidence
|
| 36 |
+
shell: bash
|
| 37 |
+
run: |
|
| 38 |
+
rustc --version --verbose
|
| 39 |
+
cargo --version
|
| 40 |
+
cargo clippy --version
|
| 41 |
+
cargo fmt --version
|
| 42 |
+
|
| 43 |
+
- name: Rustfmt Check
|
| 44 |
+
run: cargo fmt --all -- --check
|
| 45 |
+
|
| 46 |
+
- name: Rust Clippy Verification
|
| 47 |
+
run: cargo clippy --workspace --all-targets --locked -- -D warnings
|
| 48 |
+
|
| 49 |
+
- name: Run Native Rust Workspace Tests
|
| 50 |
+
run: cargo test --workspace --locked --verbose
|
| 51 |
+
|
| 52 |
+
- name: Build Production Release Artifacts
|
| 53 |
+
run: cargo build --workspace --release --locked
|
| 54 |
+
|
| 55 |
+
- name: Build & Run C++20 Z-SPAR Tests (Linux / macOS)
|
| 56 |
+
if: runner.os != 'Windows'
|
| 57 |
+
shell: bash
|
| 58 |
+
run: |
|
| 59 |
+
cmake -S crates/zymatica-language-u/33_Z_SPAR_Semantic_Parity -B build_zspar -DCMAKE_BUILD_TYPE=Release
|
| 60 |
+
cmake --build build_zspar --parallel
|
| 61 |
+
ctest --test-dir build_zspar --output-on-failure
|
| 62 |
+
|
| 63 |
+
- name: Build & Run C++20 Z-SPAR Tests (Windows)
|
| 64 |
+
if: runner.os == 'Windows'
|
| 65 |
+
shell: bash
|
| 66 |
+
run: |
|
| 67 |
+
cmake -S crates/zymatica-language-u/33_Z_SPAR_Semantic_Parity -B build_zspar
|
| 68 |
+
cmake --build build_zspar --config Release --parallel
|
| 69 |
+
ctest --test-dir build_zspar -C Release --output-on-failure
|
| 70 |
+
|
| 71 |
+
- name: Setup Python 3.11
|
| 72 |
+
uses: actions/setup-python@v5
|
| 73 |
+
with:
|
| 74 |
+
python-version: '3.11'
|
| 75 |
+
|
| 76 |
+
- name: Python Syntax Gate
|
| 77 |
+
shell: bash
|
| 78 |
+
run: |
|
| 79 |
+
python -m compileall -q \
|
| 80 |
+
crates/zymatica-language-u \
|
| 81 |
+
tools/ten_out_of_ten
|
| 82 |
+
|
| 83 |
+
- name: Install Lightweight Verification Dependencies
|
| 84 |
+
shell: bash
|
| 85 |
+
run: |
|
| 86 |
+
python -m pip install --upgrade pip
|
| 87 |
+
python -m pip install numpy
|
| 88 |
+
|
| 89 |
+
- name: Numerical Helper Self-Test
|
| 90 |
+
run: python tools/ten_out_of_ten/real_model_validation.py self-test
|
| 91 |
+
|
| 92 |
+
- name: Run Master 4-Pillars Verification Suite
|
| 93 |
+
run: python crates/zymatica-language-u/unified_polyglot_pillars/unified_four_pillars_engine.py
|
| 94 |
+
|
| 95 |
+
- name: Execute Class 31 Algorithmic Proof
|
| 96 |
+
run: python crates/zymatica-language-u/31_Epigenetic_Weight_Crystallizer/run_proof.py
|
| 97 |
+
|
| 98 |
+
- name: Execute Class 32 Stress Harness
|
| 99 |
+
run: python crates/zymatica-language-u/32_8D_Octonion_Hypercube/run_proof.py
|
| 100 |
+
|
| 101 |
+
- name: Execute Z-SPAR Golden Vector Cross-Validation
|
| 102 |
+
run: python crates/zymatica-language-u/33_Z_SPAR_Semantic_Parity/tools/reference_vectors.py
|
| 103 |
+
|
| 104 |
+
- name: Execute Class 34 Algorithmic Proof
|
| 105 |
+
run: python crates/zymatica-language-u/34_Z_WORMHOLE_Latent_Transfer/run_proof.py
|
| 106 |
+
|
| 107 |
+
- name: Execute Class 35 Algorithmic Proof
|
| 108 |
+
run: python crates/zymatica-language-u/35_Z_MCTS_Latent_Reasoning/run_proof.py
|