Skip to content

ci: add Linux build workflow - #220

Merged
scgopi merged 2 commits into
mainfrom
ci/linux-build
Aug 30, 2026
Merged

scgopi merged 2 commits into
mainfrom
ci/linux-build

Conversation

@scgopi

@scgopi scgopi commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/linux.yml: builds the Swift package and smoke-tests the graphcode CLI in a swift:6.2 container on ubuntu-latest.

  • Triggers on push to main, pull requests, merge queue entries (merge_group), and workflow_dispatch
  • Read-only contents: read permission
  • Job name Linux build — will be made a required status check on main in a follow-up once this PR's first run passes

Restores/carries forward the workflow from issue-83-linux-foundations with the merge-group and dispatch triggers added.

scgopi added 2 commits August 29, 2026 19:57
Builds the Swift package and smoke-tests the graphcode CLI on Linux
(swift:6.2 container) on pushes to main, pull requests, merge queue
entries, and manual dispatch.
Carries forward the Linux portability work from issue-83-linux-foundations,
which never landed on main, plus ports of the new code since:

- restore the root Package.swift/Package.resolved (SwiftPM manifest for
  GraphcodeKit, the CLI, and graphcoded — Tuist ignores it)
- DaemonBootstrap stays macOS-only (launchd/LaunchAgents mechanism)
- AwakeAssertion drops its IOKit assertion calls on Linux (no-op there)
- Glibc imports and the sockaddr/SOCK_STREAM/suseconds_t differences in the
  IPC files and graphcoded
- SO_NOSIGPIPE is Darwin-only: Linux ignores SIGPIPE process-wide instead

macOS behaviour is unchanged — swift build with this manifest passes on this
Mac, exercising the same Darwin branches the app builds through.
@scgopi
scgopi merged commit bb0aa79 into main Aug 30, 2026
1 check passed
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