Commit 26156af
committed
perf(ci): optimize build pipeline and fix release mode crash
- Remove redundant 'swift build' step (swift test builds everything anyway)
- Switch from release to debug mode (fixes inline snapshot crash in release)
- Fix Linux cache key to use Package.swift instead of Package.resolved
- Reduce timeout from 20m to 15m (faster debug builds)
Expected CI time reduction: 20+ minutes → 10-12 minutes (~50% faster)
Fixes segfault: 'Bad pointer dereference' in swift_isUniquelyReferenced_nonNull_native
during inline snapshot testing in release mode.1 parent 8aef4f1 commit 26156af
1 file changed
+7
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| |||
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
| 74 | + | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
90 | 82 | | |
91 | 83 | | |
92 | 84 | | |
| |||
0 commit comments