fix: completely disable AVX-512 in lance and dependencies to resolve … #10
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: CI — Lint, Test, Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| NODE_VERSION: '20' | |
| RUST_VERSION: 'stable' | |
| jobs: | |
| # ────────────────────────────────────── | |
| # Frontend: TypeScript + Vitest | |
| # ────────────────────────────────────── | |
| frontend: | |
| name: Frontend (Node ${{ matrix.node }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [20] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: TypeScript Check | |
| run: npx tsc --noEmit | |
| - name: Lint | |
| run: npm run lint | |
| - name: Run Tests | |
| run: npx vitest run --reporter=verbose | |
| - name: Build Frontend | |
| run: npm run build | |
| # ────────────────────────────────────── | |
| # Backend: Rust (cargo check + test) | |
| # ────────────────────────────────────── | |
| backend: | |
| name: Backend (Rust ${{ matrix.rust }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: [stable] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: server-rs | |
| - name: Cargo Check | |
| working-directory: server-rs | |
| run: cargo check | |
| - name: Cargo Test | |
| working-directory: server-rs | |
| run: cargo test | |
| - name: Cargo Clippy | |
| working-directory: server-rs | |
| run: cargo clippy -- -D warnings |