Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,28 @@ jobs:
tauriScript: bun tauri
args: --target ${{ matrix.target }}

- name: Smoke test (macOS)
if: runner.os == 'macOS'
run: |
APP_PATH=$(find desktop/src-tauri/target/${{ matrix.target }}/release/bundle/macos -name "*.app" -type d | head -1)
echo "Testing app at: $APP_PATH"

# Launch app in background, wait for it to start, then check if it's still running
open -a "$APP_PATH" &
sleep 5

# Check if the app is running (didn't crash on startup)
if pgrep -f "rustfava-desktop" > /dev/null; then
echo "✓ App launched successfully"
# Clean up - quit the app
pkill -f "rustfava-desktop" || true
else
echo "✗ App crashed on startup!"
# Check for crash logs
ls -la ~/Library/Logs/DiagnosticReports/ 2>/dev/null | grep -i rustfava || true
exit 1
fi

- name: Create tarball (Linux)
if: runner.os == 'Linux'
run: |
Expand Down
Loading