We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0dfcbb commit 6048380Copy full SHA for 6048380
.github/workflows/swift.yml
@@ -0,0 +1,21 @@
1
+name: Swift
2
+on: [push]
3
+jobs:
4
+
5
+ android:
6
+ name: Android
7
+ strategy:
8
+ fail-fast: false
9
+ matrix:
10
+ swift: ['6.1']
11
+ arch: ['aarch64', 'x86_64']
12
+ sdk: ['24', '28', '29']
13
+ runs-on: macos-15
14
+ timeout-minutes: 30
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: "Build Swift Package for Android"
18
+ run: |
19
+ brew install skiptools/skip/skip || (brew update && brew install skiptools/skip/skip)
20
+ skip android sdk install --version ${{ matrix.swift }}
21
+ ANDROID_NDK_ROOT="" ANDROID_SDK_VERSION=${{ matrix.sdk }} skip android build --arch ${{ matrix.arch }} --android-api-level ${{ matrix.sdk }}
0 commit comments