Commit 653024c
committed
ci: remove redundant builds (no iOS testing for SPM libraries)
Key changes:
1. ✅ Remove redundant swift build steps - swift test builds automatically
2. ✅ Add platform declarations to Package.swift (macOS, iOS, tvOS, watchOS, visionOS)
3. ❌ Remove iOS testing attempt - not feasible/standard for pure SPM libraries
Investigation findings:
- Point-Free and other Swift library projects don't test iOS in CI for pure Swift libraries
- xcodebuild iOS testing requires Xcode project generation and scheme configuration
- SPM schemes generated automatically are not configured for iOS testing
- Industry standard: macOS + Linux testing is sufficient for pure Swift code
Platform declarations added:
- Still valuable for documentation and Xcode integration
- Allows library to be used on all Apple platforms
- No CI testing impact (tests run on macOS + Linux only)
Performance improvements:
- Eliminates 3 redundant build operations across all jobs
- Simpler, faster CI following industry best practices1 parent 20e55a3 commit 653024c
2 files changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments