Skip to content

Commit 6048380

Browse files
committed
Add GitHub CI
1 parent a0dfcbb commit 6048380

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/swift.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)