Skip to content

Commit ca9bd37

Browse files
committed
Update GitHub CI
1 parent ff0bf51 commit ca9bd37

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/swift.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,23 @@ jobs:
3030
- name: Swift Version
3131
run: swift --version
3232
- name: Build (Debug)
33-
run: swift build -c debug
33+
run: swift build -c debug --build-tests
3434
- name: Build (Release)
3535
run: swift build -c release
36-
- name: Test (Debug)
37-
run: swift test -c debug
3836

39-
linux-android:
37+
android:
38+
name: Android
4039
strategy:
4140
fail-fast: false
4241
matrix:
4342
swift: ['6.1', 'nightly-6.2']
44-
runs-on: ubuntu-latest
43+
runs-on: macos-15
4544
timeout-minutes: 30
4645
steps:
4746
- uses: actions/checkout@v4
48-
- name: "Test Swift Package on Android"
49-
uses: skiptools/swift-android-action@v2
50-
with:
51-
swift-version: ${{ matrix.swift }}
47+
- name: "Build Swift Package for Android"
48+
run: |
49+
brew install skiptools/skip/skip || (brew update && brew install skiptools/skip/skip)
50+
skip android sdk install --version ${{ matrix.swift }}
51+
# https://github.com/swiftlang/swift-driver/pull/1879
52+
ANDROID_NDK_ROOT="" skip android build --build-tests

0 commit comments

Comments
 (0)