Split any YouTube song into stems
TypeScript
ci: macos smoke on release tags (validates arm64 ffmpeg source build)
Daniel Ravinac375ce452217
diff --git a/.github/workflows/macos-smoke.yml b/.github/workflows/macos-smoke.ymlnew file mode 100644index 0000000..5617d89--- /dev/null+++ b/.github/workflows/macos-smoke.yml@@ -0,0 +1,40 @@+name: macos-smoke++# runs the app's self-test mode (STEMKIT_SMOKE=1) on a fresh macOS runner:+# validates the full mac path end to end — the source-built arm64 ffmpeg+# (fetch-ffmpeg.sh compiles ffmpeg + libsoxr), the private-runtime+# bootstrap, both engines (htdemucs + roformer vocals, MPS with cpu+# fallback), and the cuda fail-fast paths. The GPU engine install is+# skipped (SUPPORTS_GPU is false on darwin; the install mechanics are+# covered by windows-smoke). Called by release.yml on tags, also runnable+# manually++on:+ workflow_dispatch:+ workflow_call:++jobs:+ smoke:+ runs-on: macos-latest+ timeout-minutes: 40+ steps:+ - uses: actions/checkout@v4++ - uses: actions/setup-node@v4+ with:+ node-version: 20++ - run: npm ci++ - name: Fetch ffmpeg (mac, source build)+ run: bash scripts/fetch-ffmpeg.sh++ - run: npx electron-vite build++ - name: Smoke (bootstrap + both engines)+ run: STEMKIT_SMOKE=1 STEMKIT_SMOKE_SKIP_GPU=1 npx electron .++ - name: Print smoke log+ if: always()+ # electron's os.tmpdir() on macOS is the per-user temp dir, not /tmp+ run: tail -50 "$TMPDIR/stemkit-smoke.log" || truediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f22acab..c1e2790 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -136,3 +136,9 @@ jobs:if: startsWith(github.ref, 'refs/tags/v')uses: ./.github/workflows/linux-smoke.ymlsecrets: inherit++ smoke-macos:+ needs: build+ if: startsWith(github.ref, 'refs/tags/v')+ uses: ./.github/workflows/macos-smoke.yml+ secrets: inherit