Skip to content

Commit 4b36df3

Browse files
committed
Update GitHub CI
1 parent 8bf961c commit 4b36df3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/swift.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ jobs:
3333
run: swift build -c debug
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+
macos-ios:
4038
strategy:
4139
fail-fast: false
4240
matrix:
4341
swift: ['6.1', 'nightly-6.2']
44-
runs-on: ubuntu-latest
42+
runs-on: macos-15
4543
timeout-minutes: 30
4644
steps:
4745
- 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 }}
46+
- name: "Build Swift Package for Android (Skip)"
47+
run: |
48+
brew install skiptools/skip/skip || (brew update && brew install skiptools/skip/skip)
49+
skip android sdk install --version ${{ matrix.swift }}
50+
# https://github.com/swiftlang/swift-driver/pull/1879
51+
ANDROID_NDK_ROOT="" skip android build --build-tests

0 commit comments

Comments
 (0)