Skip to content

Add Linux whisper-cli add-on source#16

Merged
StuartCameronCode merged 3 commits into
mainfrom
whisper-linux-addon
Jun 8, 2026
Merged

Add Linux whisper-cli add-on source#16
StuartCameronCode merged 3 commits into
mainfrom
whisper-linux-addon

Conversation

@StuartCameronCode

Copy link
Copy Markdown
Owner

Summary

Completes whisper subtitle support on Linux. The branch that added Linux support wired the isLinux paths in whisper_addon_manager, but whisper-addon.json had no Linux source — so Linux users couldn't download the whisper-cli add-on at runtime (whisper.cpp publishes no Linux binary).

  • whisper-addon.json: add linux-x64 and linux-arm64 entries (format: tar, executable: whisper-cli) pointing at the new whisper-v1.8.3 release tarballs, with size + sha256.
  • build-whisper.yml fix: the build jobs don't actions/checkout, so gh release had no git remote to infer the repo from (fatal: not a git repository). Set GH_REPO explicitly so future runs publish correctly.

The tar extraction handler (whisper/bin/whisper-cli) already merged with the workflow in #15.

Artifacts (already published to whisper-v1.8.3)

Built by build-whisper.yml (static, glibc-only, Ubuntu 22.04+ / glibc ≥ 2.35), verified to run with only libc/libm/ld deps:

  • whisper-cli-linux-x64.tar.gz — 1,573,360 bytes
  • whisper-cli-linux-arm64.tar.gz — 1,527,325 bytes (ARM aarch64 ELF)

Note

The release was created manually from the build run's artifacts because the upload step failed on the missing GH_REPO (now fixed). Re-running build-whisper.yml will reproduce/refresh the release cleanly.

🤖 Generated with Claude Code

StuartCameronCode and others added 2 commits June 8, 2026 18:59
Point the app at the self-built linux-x64/arm64 whisper-cli tarballs
published to the whisper-v1.8.3 release (format: tar, extracted to
whisper/bin/whisper-cli). This lets Linux users download the whisper
subtitle add-on at runtime, matching macOS (Homebrew bottle) and
Windows (upstream release zip).

Also fix build-whisper.yml: the build jobs don't check out the repo, so
gh release commands had no git remote to infer from ("not a git
repository"). Set GH_REPO explicitly so future runs publish correctly.
(The v1.8.3 release was created manually from this run's artifacts.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Linux test job built whisper.cpp from source, but the app never
does that — it downloads the prebuilt whisper-cli add-on at runtime. Now
that whisper-addon.json has a linux-x64 source, the test downloads that
same published tarball (URL read from the JSON so it can't drift),
exercising the real artifact + tar layout. Mirrors the Windows job,
which curls its release zip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@StuartCameronCode StuartCameronCode force-pushed the whisper-linux-addon branch 2 times, most recently from ea663bd to f2b40f3 Compare June 8, 2026 09:50
Distinguish the Rust worker tests (cargo test), the Flutter test/ suite
(the CI gate), and the Flutter integration_test/ suite (local-only, not
in CI — Flutter routes it through the device launcher, and it has drifted
out of sync with the models). Update the CI gate description to include
the Linux x64 job and the per-platform whisper-cli provisioning.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@StuartCameronCode StuartCameronCode merged commit 1053332 into main Jun 8, 2026
4 checks passed
@StuartCameronCode StuartCameronCode deleted the whisper-linux-addon branch June 8, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant