Skip to content

feat(cli): Add Linux support - #12

Merged
philprime merged 4 commits into
mainfrom
philprime/feat/add-linux-support
Sep 10, 2026
Merged

feat(cli): Add Linux support#12
philprime merged 4 commits into
mainfrom
philprime/feat/add-linux-support

Conversation

@philprime

Copy link
Copy Markdown
Member

Build and release apple-docs for Linux AMD64 and ARM64 while preserving the existing Sentry-enabled macOS behavior. Linux builds exclude the macOS-only Sentry packages and use FoundationNetworking for HTTP access.

Implementation

  • Build checksum-pinned static Linux artifacts and include them in releases and checksums.
  • Add native Ubuntu CI coverage and a read-only Docker-backed make test-linux workflow.
  • Exercise the Linux AMD64 release binary against Apple's live DocC endpoint before upload.
  • Keep Docker limited to local testing. No container publishing is introduced.

Verification

  • make test: 61 macOS tests passed.
  • make test-linux: 52 applicable Linux tests passed.
  • make analyze: SwiftLint, swift-format, dprint, and actionlint passed.
  • make build: release build is current.
  • The static ARM64 Linux binary retrieved Swift String documentation over HTTPS.

Compile the CLI without Sentry on Linux and support FoundationNetworking. Build and publish static AMD64 and ARM64 artifacts, with Docker-backed local tests and Ubuntu CI coverage.
@philprime
philprime marked this pull request as ready for review September 10, 2026 11:46
Merge the latest cache and telemetry changes while retaining platform guards. Extract build metadata generation into a reusable composite action.
Comment thread Sources/CLI/http/HTTPDataTransport.swift
@philprime
philprime merged commit cd1da17 into main Sep 10, 2026
15 checks passed
@philprime
philprime deleted the philprime/feat/add-linux-support branch September 10, 2026 13:58
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