Building & Releases
Local build
Prerequisites:
Rust toolchain (
cargo)Node.js (CI uses Node 20)
Tauri platform dependencies: on Ubuntu/Debian Linux, install WebKitGTK and packaging libraries:
shsudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
Commands (run in the repository root):
sh
npm install
npm run tauri build # installers for the current OS
cargo build --release # plain binary in target/releaseRun Rust unit tests:
sh
cargo test --allCI & release workflows
- Continuous Integration (
.github/workflows/ci.yml): runs on every push tomain/masterand on pull requests acrosswindows-latest,ubuntu-22.04, andmacos-latest, executingcargo test --allandnpx tauri build --no-bundle. - Release (
.github/workflows/release.yml): triggers on pushing av*tag (or manualworkflow_dispatch) and builds installers plus flat binary archives across three runners:
| Runner | Installer bundles | Portable archive |
|---|---|---|
macos-latest | dmg (--target universal-apple-darwin) | VoiceDrop-macos-universal.tar.gz |
ubuntu-22.04 | deb, appimage | VoiceDrop-linux-x64.tar.gz |
windows-latest | nsis, msi | VoiceDrop-windows-x64.zip |
Each portable archive packages voice-drop (or voice-drop.exe), README.md, and uv (when available on the runner). Once all build jobs finish, the publish job promotes the draft GitHub release to published and latest.