Skip to content

Add Linux support#3

Merged
RISCfuture merged 2 commits into
mainfrom
linux-support
Jul 7, 2026
Merged

Add Linux support#3
RISCfuture merged 2 commits into
mainfrom
linux-support

Conversation

@RISCfuture

Copy link
Copy Markdown
Owner

Summary

  • Shim String(localized:) on Linux (unavailable in swift-corelibs-foundation), replace \(x, format: .number) interpolation with .formatted(.number), and import FoundationNetworking where URLSession/HTTPURLResponse are used.
  • Port the E2E tool's progress bar from NSKeyValueObservation (Darwin-only) to a polling-based implementation, enabling SwiftCIFP_E2E to build and run on Linux.
  • Add ubuntu-latest / Swift 6.3 to the CI test matrix (replacing the standalone test-linux job).

Test plan

  • swift build / swift test green on macOS
  • swift build / swift test green on Linux (Docker swift:6.3)
  • SwiftCIFP_E2E runs on Linux against real FAA CIFP data (177,812 records, 0 errors)
  • swiftlint --strict and swift format lint --strict pass
  • actionlint on the CI workflow change

🤖 Generated with Claude Code

RISCfuture and others added 2 commits July 6, 2026 19:50
Guard String(localized:) behind a Linux shim that resolves keys to
themselves (the API doesn't exist on swift-corelibs-foundation), replace
the `\(x, format: .number)` interpolation sugar with `.formatted(.number)`
in CIFPError.swift, and import FoundationNetworking where URLSession is
used. Port the E2E tool's progress bar off NSKeyValueObservation (Darwin
only) to polling, which lets it build and run on Linux too. Add Ubuntu to
the CI matrix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Keep the Build-and-Test matrix on both macOS and Ubuntu. Move the
SwiftLint job to ubuntu-latest via the ghcr.io/realm/swiftlint container
(SwiftLint runs cleanly on Linux), and move the documentation build to
ubuntu-latest. Periphery stays on macOS (needs an index-store build with
no clean Linux install path).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@RISCfuture RISCfuture merged commit c2fa3b3 into main Jul 7, 2026
5 checks passed
@RISCfuture RISCfuture deleted the linux-support branch July 7, 2026 04:12
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