Commit ce78c6c
committed
CI: install Android NDK r27d and run SDK setup script
The previous swift sdk install was incomplete — it only fetches Swift-side
artifacts (stdlib, Foundation .swiftmodule files). C interop in
SwiftOverlayShims needs the NDK's C sysroot (semaphore.h, libc, etc.),
and the SDK bundle's destination JSON needs ANDROID_NDK_HOME baked in by
the setup-android-sdk.sh script that ships with it.
Without these, the build errors mid-compile with:
'semaphore.h' file not found … could not build C module 'SwiftOverlayShims'
NDK r27d is paired with swift-6.3-RELEASE Android SDK — bump both together
when swift.org publishes a newer SDK bundle.1 parent 3211ebd commit ce78c6c
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
146 | 169 | | |
147 | 170 | | |
0 commit comments