Skip to content

Commit c1ec79c

Browse files
committed
Update GitHub CI
1 parent 7879b33 commit c1ec79c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/swift.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Linux
2222
strategy:
2323
matrix:
24-
container: ["swift:6.0.3", "swiftlang/swift:nightly"]
24+
container: ["swift:6.0.3", "swift:6.1.1", "swiftlang/swift:nightly"]
2525
runs-on: ubuntu-latest
2626
container: ${{ matrix.container }}-jammy
2727
steps:
@@ -35,3 +35,21 @@ jobs:
3535
run: swift build -c release
3636
- name: Test (Debug)
3737
run: swift test -c debug
38+
39+
android:
40+
name: Android
41+
strategy:
42+
fail-fast: false
43+
matrix:
44+
swift: ['6.1', 'nightly-6.2']
45+
arch: ['x86_64']
46+
runs-on: macos-15
47+
timeout-minutes: 30
48+
steps:
49+
- uses: actions/checkout@v4
50+
- name: "Build Swift Package for Android"
51+
run: |
52+
brew install skiptools/skip/skip || (brew update && brew install skiptools/skip/skip)
53+
skip android sdk install --version ${{ matrix.swift }}
54+
# https://github.com/swiftlang/swift-driver/pull/1879
55+
ANDROID_NDK_ROOT="" skip android build

0 commit comments

Comments
 (0)