feat: Face JSON v2 schema - add schema_version, bbox x2/y2/center, keep embeddings, update clustering

This commit is contained in:
Accusys
2026-11-02 14:34:02 +08:00
parent 2fca49b120
commit 5d18183d82
566 changed files with 321788 additions and 1662 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Core Test
on:
push:
branches: [main, develop]
paths: ['src/**', 'Cargo.toml']
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Cargo fmt
run: cargo fmt -- --check
- name: Cargo clippy
run: cargo clippy -- -D warnings
- name: Cargo test
run: cargo test --lib
+23
View File
@@ -0,0 +1,23 @@
name: Cross-Project Integration
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
integration:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Setup Sandbox
run: ./scripts/setup_sandbox.sh
- name: Build All
run: ./scripts/build_all.sh
- name: Start Services
run: ./scripts/start_services.sh
- name: Run Integration Tests
run: ./scripts/run_integration_tests.sh
- name: Cleanup
if: always()
run: ./scripts/cleanup_sandbox.sh
+22
View File
@@ -0,0 +1,22 @@
name: Release
on:
push:
tags: ['v*']
jobs:
build-and-release:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Build Release
run: cargo build --release
- name: Run Full Tests
run: cargo test
- name: Create Release
run: |
cp target/release/momentry ./momentry-${{ github.ref_name }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: momentry-${{ github.ref_name }}
path: momentry-${{ github.ref_name }}