The open-source AI voice studio. Clone, dictate, create.
feat(ci): re-enable Linux release builds (CPU, deb+rpm) (#488)
Jamie Pine5964af5dea05
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c438e5eb..25e5a943 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -26,12 +26,45 @@ jobs:args: ""python-version: "3.12"backend: "pytorch"+ - platform: "ubuntu-22.04"+ # --config override disables updater-artifact generation on Linux.+ # tauri.conf.json has createUpdaterArtifacts: "v1Compatible" which+ # on Linux wants to synthesize a .AppImage.tar.gz by downloading+ # linuxdeploy at build time — this is what silently hangs CI+ # (see v0.4.2 round 2, 25 min of no output after rpm bundling).+ # We ship deb+rpm only; Linux users update via apt/dnf, not the+ # Tauri in-app updater.+ args: '--target x86_64-unknown-linux-gnu --bundles deb,rpm --verbose --config {"bundle":{"createUpdaterArtifacts":false}}'+ python-version: "3.12"+ backend: "pytorch"runs-on: ${{ matrix.platform }}steps:- uses: actions/checkout@v4+ # Ubuntu runners ship with ~14 GB free; pip + PyInstaller + torch can+ # peak well above that during the build. Reclaim ~25 GB by pruning+ # preinstalled toolchains we don't use. This is what likely tripped+ # the March 2026 Linux release attempts (see commit 103e98b+ # "github runners suck") — not a code issue, a disk-pressure one.+ - name: Free up disk space (ubuntu)+ if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace')+ # Pinned to v1.3.1 (SHA) — this job runs with contents: write and+ # handles signing secrets later, so we don't want a floating ref.+ uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be+ with:+ tool-cache: false+ android: true+ dotnet: true+ haskell: true+ # large-packages: true would `apt-get remove '^llvm-.*'`, which+ # cascade-removes reverse deps that won't be pulled back in by the+ # `llvm-dev` install below. The other flags already free ~20 GB,+ # enough for the Python + torch + PyInstaller build.+ large-packages: false+ swap-storage: true+- name: Install dependencies (ubuntu only)if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace')run: |@@ -133,6 +166,21 @@ jobs:p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}+ - name: Disk / environment snapshot (pre-bundle debug)+ if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace')+ run: |+ echo "=== df -h ==="+ df -h+ echo "=== free -h ==="+ free -h+ echo "=== Rust / Cargo ==="+ rustc --version+ cargo --version+ echo "=== Bun ==="+ bun --version+ echo "=== Tauri CLI ==="+ cd tauri && bun run tauri --version+- name: Extract release notes from CHANGELOG.mdid: changelogshell: bash@@ -156,7 +204,13 @@ jobs:echo "CHANGELOG_EOF"} >> "$GITHUB_OUTPUT"+ # Linux hang watchdog: previous releases silently wedged inside tauri+ # bundling (possibly linuxdeploy/AppImage download, possibly cargo link).+ # Cap the step at 30 min so we get logs instead of waiting out the 6hr+ # job timeout. Other platforms historically complete in ~25 min, so 45+ # is comfortable.- uses: tauri-apps/[email protected]+ timeout-minutes: ${{ (contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace')) && 30 || 45 }}env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}@@ -168,6 +222,9 @@ jobs:APPLE_PROVIDER_SHORT_NAME: ${{ secrets.APPLE_PROVIDER_SHORT_NAME }}APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}+ # Stream subprocess stdout/stderr so the hang is visible in logs.+ CARGO_TERM_VERBOSE: "true"+ RUST_BACKTRACE: "1"with:projectPath: tauritagName: v__VERSION__diff --git a/app/package.json b/app/package.jsonindex 2db75bd7..b4059f46 100644--- a/app/package.json+++ b/app/package.json@@ -1,6 +1,6 @@{"name": "@voicebox/app",- "version": "0.4.1",+ "version": "0.4.2","private": true,"type": "module","scripts": {diff --git a/landing/package.json b/landing/package.jsonindex 6f0a752e..6c4c1f12 100644--- a/landing/package.json+++ b/landing/package.json@@ -1,6 +1,6 @@{"name": "@voicebox/landing",- "version": "0.4.1",+ "version": "0.4.2","description": "Landing page for voicebox.sh","scripts": {"dev": "next dev --turbo",diff --git a/package.json b/package.jsonindex 222131e8..835cd67d 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "voicebox",- "version": "0.4.1",+ "version": "0.4.2","private": true,"workspaces": ["app",diff --git a/tauri/package.json b/tauri/package.jsonindex 5bf4625d..8648ef40 100644--- a/tauri/package.json+++ b/tauri/package.json@@ -1,7 +1,7 @@{"name": "@voicebox/tauri","private": true,- "version": "0.4.1",+ "version": "0.4.2","type": "module","scripts": {"dev": "vite",diff --git a/tauri/src-tauri/Cargo.lock b/tauri/src-tauri/Cargo.lockindex 76cacea5..84e3c762 100644--- a/tauri/src-tauri/Cargo.lock+++ b/tauri/src-tauri/Cargo.lock@@ -5041,7 +5041,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"[[package]]name = "voicebox"-version = "0.4.1"+version = "0.4.2"dependencies = ["base64 0.22.1","core-foundation-sys",diff --git a/tauri/src-tauri/Cargo.toml b/tauri/src-tauri/Cargo.tomlindex 797d9525..0eda106a 100644--- a/tauri/src-tauri/Cargo.toml+++ b/tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "voicebox"-version = "0.4.1"+version = "0.4.2"description = "A production-quality desktop app for Qwen3-TTS voice cloning and generation"authors = ["you"]license = ""diff --git a/tauri/src-tauri/tauri.conf.json b/tauri/src-tauri/tauri.conf.jsonindex b0485897..0d76cc03 100644--- a/tauri/src-tauri/tauri.conf.json+++ b/tauri/src-tauri/tauri.conf.json@@ -1,7 +1,7 @@{"$schema": "https://schema.tauri.app/config/2","productName": "Voicebox",- "version": "0.4.1",+ "version": "0.4.2","identifier": "sh.voicebox.app","build": {"beforeDevCommand": "bun run dev",diff --git a/web/package.json b/web/package.jsonindex 3bf02c99..7f18beb6 100644--- a/web/package.json+++ b/web/package.json@@ -1,7 +1,7 @@{"name": "@voicebox/web","private": true,- "version": "0.4.1",+ "version": "0.4.2","type": "module","scripts": {"dev": "vite",