yams/packaging
trvon d0bd2ddc7f
ci(release): ship the static-embedding table in release packages
After the release compile, the built CLI fetches yams-static-bge-c4-256
(yams model download, sha256 pinned in model_command.cpp) into
build/static-embedding, meson configure points -Dstatic-embedding-table
at it, and a second meson compile regenerates the install plan (nothing
recompiles) so the following meson install --no-rebuild stages
share/yams/models/static. Same on Windows before staging; the MSI gets a
StaticEmbeddingTable component under share\yams\models\static, which the
runtime finds from bin\..\share.

NOTICE credits the table: tokenlearn (MIT), BAAI/bge-base-en-v1.5 (MIT),
allenai/c4 en (ODC-BY 1.0).

Checked: the POSIX snippet run verbatim on a Linux build fetches the
table from the release, regenerates, and meson install stages it.
Not covered: the macOS x86_64 job runs the x86_64 CLI on an arm64 runner
(needs Rosetta); Arch PKGBUILD and the Homebrew formula build from source
and still need their own fetch step.

Signed-off-by: trvon <me@trevon.dev>
2026-10-31 07:37:30 -06:00
..
arch fix(packaging): reach running user managers without a D-Bus user bus 2026-10-02 08:30:39 -06:00
homebrew build(packaging): bundle ONNX Runtime privately in <libdir>/yams/onnxruntime 2026-10-01 22:42:15 -06:00
systemd ci(packaging): make the user-unit checks match real sessions 2026-10-02 09:18:38 -06:00
windows ci(release): ship the static-embedding table in release packages 2026-10-31 07:37:30 -06:00