|
1 | 1 | # Swift Android native cross-compiler and test runner action |
2 | 2 |
|
3 | 3 | This GitHub action will build and run Swift package tests on an Android emulator. |
4 | | -This uses the [swift-android-toolchain](https://github.com/skiptools/swift-android-toolchain) |
5 | | -project to provide a cross-compiler for building |
6 | | -Swift natively for Android on a Linux or macOS host. |
| 4 | +This uses the official [Swift SDK for Android](https://github.com/marketplace/actions/swift-android-action) |
| 5 | +provide a cross-compilation Swift SDK for building |
| 6 | +Swift natively for Android from a Linux or macOS host. |
7 | 7 |
|
8 | 8 | After building the package, it will run the SwiftPM |
9 | 9 | test targets on an Android emulator (which is provided by the |
@@ -69,9 +69,9 @@ The `swift-version` input can be set to a specific version number (e.g., "6.2" o |
69 | 69 |
|
70 | 70 | > [!NOTE] |
71 | 71 | > Prior to Swift 6.3, the SDK that is installed is the |
72 | | -> unofficial de-facto Swift SDK for Android created from the |
| 72 | +> pre-official Swift SDK for Android created from the |
73 | 73 | > [swift-android-sdk](https://github.com/swift-android-sdk/swift-android-sdk) |
74 | | -> fork. |
| 74 | +> repository. |
75 | 75 | > As of the [announcement of the official SDK](https://www.swift.org/blog/nightly-swift-sdk-for-android/) |
76 | 76 | at swift.org, |
77 | 77 | > the official toolchain can be used in testing, starting with the |
@@ -119,7 +119,7 @@ An example of disabling running tests on ARM macOS images is: |
119 | 119 | ```yml |
120 | 120 | jobs: |
121 | 121 | macos-android: |
122 | | - runs-on: macos-15 |
| 122 | + runs-on: macos-26 |
123 | 123 | steps: |
124 | 124 | - uses: actions/checkout@v4 |
125 | 125 | - name: "Test Swift Package on macOS" |
@@ -273,35 +273,36 @@ gh release create --generate-notes --latest |
273 | 273 |
|
274 | 274 | These are some of the open-source projects using (or have used) the Swift Android Action: |
275 | 275 |
|
276 | | -- [Alamofire](https://github.com/Alamofire/Alamofire/tree/master/.github/workflows) |
277 | | -- [Bagbutik](https://github.com/MortenGregersen/Bagbutik/tree/main/.github/workflows) |
278 | | -- [BigInt](https://github.com/attaswift/BigInt/tree/master/.github/workflows) |
279 | | -- [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift/tree/main/.github/workflows) |
280 | | -- [egeniq/app-remote-config](https://github.com/egeniq/app-remote-config/tree/main/.github/workflows) |
281 | | -- [Forked](https://github.com/drewmccormack/Forked/tree/main/.github/workflows) |
282 | | -- [GraphQL](https://github.com/GraphQLSwift/GraphQL/tree/main/.github/workflows) |
283 | | -- [jose-swift](https://github.com/beatt83/jose-swift/tree/main/.github/workflows) |
284 | | -- [MemoZ](https://github.com/marcprux/MemoZ/tree/main/.github/workflows) |
285 | | -- [PromiseKit](https://github.com/mxcl/PromiseKit/tree/master/.github/workflows) |
286 | | -- [ReactiveKit](https://github.com/DeclarativeHub/ReactiveKit/tree/master/.github/workflows) |
287 | | -- [Skip](https://github.com/skiptools/actions/tree/main/.github/workflows) |
288 | | -- [soto-core](https://github.com/soto-project/soto-core/tree/main/.github/workflows) |
289 | | -- [SQLite.swift](https://github.com/stephencelis/SQLite.swift/tree/master/.github/workflows) |
290 | | -- [supabase-swift](https://github.com/supabase/supabase-swift/tree/main/.github/workflows) |
291 | | -- [swift-android-native](https://github.com/skiptools/swift-android-native/tree/main/.github/workflows) |
292 | | -- [SwiftCBOR](https://github.com/valpackett/SwiftCBOR/tree/master/.github/workflows) |
293 | | -- [SwiftDraw](https://github.com/swhitty/SwiftDraw/tree/main/.github/workflows) |
294 | | -- [swift-fakes](https://github.com/Quick/swift-fakes/tree/main/.github/workflows) |
295 | | -- [SwiftGodot](https://github.com/migueldeicaza/SwiftGodot/tree/main/.github/workflows) |
296 | | -- [swift-issue-reporting](https://github.com/pointfreeco/swift-issue-reporting/tree/main/.github/workflows) |
297 | | -- [swift-jni](https://github.com/skiptools/swift-jni/tree/main/.github/workflows) |
298 | | -- [swift-macro-testing](https://github.com/pointfreeco/swift-macro-testing/tree/main/.github/workflows) |
299 | | -- [swift-png](https://github.com/tayloraswift/swift-png/tree/master/.github/workflows) |
300 | | -- [swift-snapshot-testing](https://github.com/pointfreeco/swift-snapshot-testing/tree/main/.github/workflows) |
301 | | -- [swift-sqlcipher](https://github.com/skiptools/swift-sqlcipher/tree/main/.github/workflows) |
302 | | -- [SwifterSwift](https://github.com/SwifterSwift/SwifterSwift/tree/master/.github/workflows) |
303 | | -- [universal](https://github.com/marcprux/universal/tree/main/.github/workflows) |
304 | | -- [vapor/ci](https://github.com/vapor/ci/tree/main/.github/workflows) |
305 | | -- [WasmKit](https://github.com/swiftwasm/WasmKit/tree/main/.github/workflows) |
306 | | -- [Yams](https://github.com/jpsim/Yams/tree/main/.github/workflows) |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
307 | 308 |
|
0 commit comments