Commit graph

19 commits

Author SHA1 Message Date
CJ Pais
b123c1e5c0
fix crash on old cpus (#1176)
* fix crash on old cpu

* fix

* disable whisper extensions
2026-04-02 08:20:28 +08:00
CJ Pais
a3015026a0
whisper-rs 0.16.0 and ort.rc12 (#1041)
* test build for 0.16.0

* macos 10.15?

* format

* shorter dir for build on windows?

* Update build.yml

* move

* Update build.yml

* long path support

* clang

* try

* try

* move to ort rc12

* use ms prebuilt?

* use lower version for 1.23.1

* download my prebuilt

* Update build.yml

* Update build.yml

* fix?

* fix(nix): use dynamic linking for ort-sys 2.0.0-rc.12

ort-sys rc.12 removed pkg-config support; without ORT_PREFER_DYNAMIC_LINK
it defaults to static linking against ORT_LIB_LOCATION, which fails
because nixpkgs only provides shared libraries (.so).

* fix(nix): override onnxruntime to 1.24.2 for ort-sys rc.12 compatibility

ort 2.0.0-rc.12 enables API v24 by default, but nixpkgs only ships
onnxruntime 1.23.2 (API v23), causing a runtime panic on model load.

Use Microsoft's prebuilt binaries for onnxruntime 1.24.2 via overlay,
patched with autoPatchelfHook for NixOS compatibility.

This overlay should be removed once nixpkgs merges onnxruntime ≥ 1.24:
https://github.com/NixOS/nixpkgs/pull/499389

* updated deps for whisper

* fix(nix): sync devShell with packages for ort-sys rc.12 compatibility

- Extract shared definitions (commonNativeDeps, gstPlugins, commonEnv,
  onnxruntimeOverlay) to avoid duplication between packages and devShells
- Add onnxruntime 1.24.2 overlay to devShell (was only in packages)
- Add BINDGEN_EXTRA_CLANG_ARGS to devShell so bindgen can find stdio.h
  and generate correct vulkan bindings for whisper-rs-sys
- Add ORT_LIB_LOCATION and ORT_PREFER_DYNAMIC_LINK to devShell
- Replace libappindicator with libayatana-appindicator in devShell
- Add onnxruntime and vulkan-loader to devShell LD_LIBRARY_PATH

* fix missing lib in the handy blob dl

* scope lib verification

* dont run bun2nix on windows

---------

Co-authored-by: Evgeny <evgeny.khudoba@yandex.ru>
2026-03-19 15:00:51 +08:00
Viren Mohindra
e1a484f70f
ci: reduce PR check time from ~30 min to ~1 min (#1073)
* ci: reduce PR check time from ~30 min to ~1 min

- merge lint + prettier into single code-quality workflow
- add concurrency groups to cancel stale runs on rapid pushes
- add path filters so irrelevant changes skip checks
- make full nix build opt-in via "nix" label (eval-only by default)
- add nix store caching via magic-nix-cache-action
- cache trusted-signing-cli binary on windows builds
- upgrade setup-bun from v1 to v2

* ci: add workflow path filters and expand nix build triggers

- add .github/workflows/** to path filters on code-quality and nix-check
  so CI runs when workflow files themselves change
- include tauri.conf.json and build.rs in nix full-build diff check since
  these can break nix sandbox builds independently of cargo builds
2026-03-18 17:25:56 +08:00
Dariel Dato-on
fc05e4aee9
fix: simplify Bun setup for Windows ARM64 (#965)
oven-sh/setup-bun@v2 (v2.1.1+) now automatically falls back ARM64 to
x64 with AVX2 disabled on Windows, making the manual baseline download
workaround unnecessary.

Ref: https://github.com/oven-sh/setup-bun/pull/131
Ref: https://github.com/oven-sh/setup-bun/issues/130

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 21:44:19 +08:00
CJ Pais
43bc2373ef
Revert "feat: add portable ZIP archives for Windows releases (#753)" (#788)
This reverts commit 6f3fd9babc.
2026-02-11 21:13:32 +08:00
Shehab Tarek
6f3fd9babc
feat: add portable ZIP archives for Windows releases (#753)
* feat: add portable ZIP archives for Windows releases

Add portable (no-install) ZIP builds for Windows x64 and ARM64.
After the existing Tauri build step, a new step packages Handy.exe
and its resources/ directory into a zip archive that users can
extract and run directly without an installer.

The portable ZIPs are uploaded to GitHub Releases alongside the
existing NSIS/MSI installers, and included in CI artifact uploads.

Closes #153

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use -not instead of ! for PowerShell compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 10:35:43 +08:00
Martin Kleine
647ccab7f8
fix(ci): install gtk-layer-shell runtime package for Ubuntu builds (#752)
* fix(ci): install gtk-layer-shell runtime package for Ubuntu builds

* docs: update runtime dependency table formatting.

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2026-02-10 09:31:18 +08:00
Gabe Duarte
6de8ff5b71
Fix the rust tests after gtk-layer-shell introduction (#719) 2026-02-06 07:51:22 +08:00
CJ Pais
7e2760ea27
arm linux build? (#629)
* arm build?

* try newer vulkan

* dont think this will work but try anyway

* Update build.yml
2026-01-20 13:03:03 +08:00
Jorge
45eec57226
feat: add fallback microphone for clamshell/desktop mode (#329)
* feat: add fallback microphone for clamshell/desktop mode

* refactor: moved "Closed Laptop Microphone" setting to Debug

* cleanup

* run format

* add check back

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2025-11-17 10:38:41 +07:00
Dariel Dato-on
832eb2766c
Enable Windows ARM64 builds in CI (#340) 2025-11-15 17:02:55 +08:00
CJ Pais
11ce9a7a53
Fix Whisper Crashing on Linux + CI Fixes (#212)
* bump to latest transcribe-rs

* direct dep?

* disable avx for whisper?

* verbose?

* rust verbose?

* debug symbols

* support debug builds properly

* split release for appimage

* fix artifact name
2025-10-13 14:43:48 -07:00
CJ Pais
90395c8ba4 fix? 2025-08-19 19:29:28 -07:00
CJ Pais
c8aa9e84f4 try fuse 2025-08-19 17:53:51 -07:00
CJ Pais
8b73217ff8 remove libwayland from appimage? 2025-08-19 17:37:36 -07:00
CJ Pais
ff0d5863a4 have 22.04 and 24.04 builds for now 2025-08-18 16:59:32 -07:00
CJ Pais
19aad352ad 22.04 build? 2025-08-18 16:41:42 -07:00
CJ Pais
d3429f8bb0 clean out the cache on ci for whisper 2025-08-18 16:05:32 -07:00
CJ Pais
93808dca97 migrate to unified ci? 2025-08-18 14:23:44 -07:00