ci: macOS and Linux portable builds#40
Merged
Merged
Conversation
Add mac (.dmg + .zip, x64/arm64) and linux (AppImage, x64) targets to electron-builder alongside the existing Windows portable .exe. Convert the release workflow to a 3-OS matrix that builds each platform on its native runner, then aggregates all artifacts into one GitHub Release with a single combined SHA256SUMS.txt. Document per-platform downloads, the macOS Gatekeeper workaround, and Linux AppImage usage in the README. No native deps (node:sqlite), so each runner just bundles the matching Electron binary; no per-platform native rebuild.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds macOS and Linux portable downloads alongside the existing Windows portable
.exe.mac(.dmg+.zip, x64 + arm64) andlinux(AppImage, x64) targets. Unsigned on all platforms, consistent with the current Windows stance.icon.png(512²) auto-converts to.icns.windows/macos/ubuntu), each building on its native runner behind the same typecheck/test gates. A newpublishjob aggregates all artifacts into one Release with a single combinedSHA256SUMS.txt.No app code changes — packaging/CI/docs only. No native deps (
node:sqlite), so each runner just bundles the matching Electron binary; no per-platform native rebuild.Verification
workflow_dispatchdry run on this branch (run) — all three matrix legs + the aggregate job green. Artifacts produced:StarcallOS-0.2.0-portable-x64.exeStarcallOS-0.2.0-x64.dmg/-arm64.dmgStarcallOS-0.2.0-x64.zip/-arm64.zipStarcallOS-0.2.0-x86_64.AppImageThe Release-publish step is correctly skipped on
workflow_dispatch(tag-gated); a realv*tag will publish all of the above +SHA256SUMS.txt.Notes / out of scope
actions/download-artifact@v5runs on Node 20 (GitHub deprecation notice for a future date); latest major, nothing to bump yet.