Skip to content

Add CI/CD for LocalCowork macOS releases (.dmg)#51

Open
pierretokns wants to merge 3 commits intoLiquid4All:mainfrom
pierretokns:main
Open

Add CI/CD for LocalCowork macOS releases (.dmg)#51
pierretokns wants to merge 3 commits intoLiquid4All:mainfrom
pierretokns:main

Conversation

@pierretokns
Copy link
Copy Markdown

@pierretokns pierretokns commented Mar 5, 2026

Summary

Adds a GitHub Actions workflow that builds and releases LocalCowork as macOS .dmg installers for both arm64 and x86_64, triggered by localcowork-v* tags.

This enables distribution via Homebrew and direct download — making it much easier for people to try LocalCowork without cloning the repo and building from source.

What's included

  • .github/workflows/release-localcowork.yml — builds Tauri app for both architectures on macos-14 runners, creates a GitHub Release with .dmg files and SHA256 checksums
  • Rust build cache for faster CI runs
  • Frontend built explicitly before cargo tauri build

Motivation

LocalCowork is a great showcase of LFM2-24B-A2B's tool-calling capabilities, but the current setup requires Node.js, Python 3.12, Rust, and Tauri CLI just to try it. Pre-built .dmg releases would lower the barrier significantly.

With official signed releases, LocalCowork could also be distributed through Homebrew — we've already prototyped a community tap at pierretokns/homebrew-localcowork that installs all dependencies (llama.cpp, node, python, tesseract) and shows the model download instructions.

Tested

Related

See #52 for the full discussion about Homebrew distribution and what's needed for official brew.sh inclusion.

Test plan

  • Both architecture builds complete successfully
  • .dmg files are valid and contain LocalCowork.app
  • Release is created with correct checksums
  • Code signing with Apple Developer ID (would need secrets configured)

pierretokns and others added 3 commits March 5, 2026 14:12
Builds Tauri .dmg for arm64 and x86_64 on tag push (localcowork-v*).
Creates GitHub Release with checksums.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- npm install instead of npm ci (lockfile compat)
- Add Rust cache to speed up subsequent builds
- Build frontend explicitly before cargo tauri build
- fail-fast: false so both arch builds run independently
- Node 22 to match Homebrew dependency
- Update release notes with hardware requirements and model info

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant