Skip to content

feat(bench): ML Score column on SplatBench v0 #20

feat(bench): ML Score column on SplatBench v0

feat(bench): ML Score column on SplatBench v0 #20

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace --all-targets
node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 20, cache: pnpm }
- run: pnpm install --frozen-lockfile
# Build the viewer dist first — report-ui and visual depend on it via
# `workspace:*`, and the viewer's own `lint`/`test` need its type graph.
- run: pnpm -F @splatforge/viewer run build
# Lint/test the JS workspaces, but skip splatforge-visual: its `test`
# script is Playwright (covered by the visual workflow) and needs a
# built viewer + browsers + CLI binary.
- run: pnpm --filter='!splatforge-visual' -r --if-present run lint
- run: pnpm --filter='!splatforge-visual' -r --if-present run test
cli-smoke:
runs-on: ubuntu-latest
needs: [rust]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --release -p splatforge-cli
- run: ./target/release/splatforge analyze fixtures/tiny/basic_binary.ply
- run: ./target/release/splatforge optimize fixtures/tiny/basic_binary.ply --preset web-mobile --out /tmp/scene.gltf
- run: ./target/release/splatforge inspect /tmp/scene.gltf