Skip to content

Commit a7f1b7b

Browse files
leogdionclaude
andcommitted
Add Swift Source Compatibility CI workflow
Implements GitHub Actions workflow to test MistKit against multiple Swift toolchain versions (6.0, 6.1, 6.2, and 6.3-nightly) for source compatibility validation. - Tests Swift 6.0, 6.1, 6.2 (stable) and 6.3-nightly - Build-only approach using official Swift Docker containers - Nightly failures allowed via continue-on-error flag - Follows SyndiKit source compatibility suite pattern - Runs on push to main, pull requests, and manual dispatch - Uses explicit Swift 6 language mode for all builds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent cf1451a commit a7f1b7b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Swift Source Compatibility
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
swift-source-compat-suite:
11+
name: Test Swift ${{ matrix.container }} For Source Compatibility Suite
12+
runs-on: ubuntu-latest
13+
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
14+
continue-on-error: ${{ contains(matrix.container, 'nightly') }}
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
container:
20+
- swift:6.0
21+
- swift:6.1
22+
- swift:6.2
23+
- swiftlang/swift:nightly-6.3-noble
24+
25+
container: ${{ matrix.container }}
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
31+
- name: Test Swift 6.x For Source Compatibility
32+
run: swift build --disable-sandbox --verbose --configuration release -Xswiftc -swift-version -Xswiftc 6

0 commit comments

Comments
 (0)