Skip to content

feat: enhance BitLinear and LayerLayout structures with detailed offs… #4

feat: enhance BitLinear and LayerLayout structures with detailed offs…

feat: enhance BitLinear and LayerLayout structures with detailed offs… #4

Workflow file for this run

name: Build Engine
on:
push:
branches: [main]
paths:
- 'engine/**'
- 'Cargo.toml'
- '.github/workflows/build-engine.yml'
pull_request:
branches: [main]
paths:
- 'engine/**'
- 'Cargo.toml'
jobs:
build:
name: Rust → Wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build (release)
run: cd engine && wasm-pack build --target nodejs --release
- name: Smoke test (engine.wasm exists and is reasonable size)
run: |
ls -lh engine/pkg/tern_engine_bg.wasm
test -f engine/pkg/tern_engine_bg.wasm