Add GitHub Actions CI: macOS, iOS, Linux, Windows, Android#3
Conversation
Five-platform matrix mirroring the SwiftBash workflow: full build + test on macOS / Linux / Windows / Android, and a compile-only check on iOS (covers the `#if canImport(Subprocess)` gating that keeps the module building when swift-subprocess is platform-excluded). Simpler than SwiftBash's setup because ShellKit has no C-library deps — swift-argument-parser and swift-subprocess are pure Swift, so the Linux job needs no `apt-get install` and the Windows job needs no vcpkg provisioning. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The auto-generated SPM scheme is `ShellKit`, not `ShellKit-Package`. The latter is the convention some Xcode versions / SPM generators use, but for this package xcodebuild lists the scheme as plain `ShellKit`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8546909238
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Select Xcode 26.0 | ||
| uses: maxim-lobanov/setup-xcode@v1 | ||
| with: | ||
| xcode-version: "26.0" |
There was a problem hiding this comment.
Run Xcode 26 jobs on a macOS image guaranteed to include it
setup-xcode only switches among Xcode versions that are already installed on the selected runner image, but this job requests xcode-version: "26.0" while using runs-on: macos-latest; when macos-latest points to an older image, both the macOS and iOS jobs fail before build/test starts. The GitHub runner docs explicitly note that -latest is not guaranteed to be the newest OS image, so this workflow is brittle unless you pin runs-on to a macOS 26 label (or relax to a version guaranteed on macos-latest).
Useful? React with 👍 / 👎.
Summary
Test plan
🤖 Generated with Claude Code