File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
3535 run : swift build -c release
3636 - name : Test (Debug)
3737 run : swift test -c debug
38+
39+
40+ android :
41+ name : Android
42+ strategy :
43+ fail-fast : false
44+ matrix :
45+ swift : ['6.1', 'nightly-6.2']
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
56+ - name : " Test Swift Package on Android (Skip)"
57+ uses : reactivecircus/android-emulator-runner@v2
58+ with :
59+ api-level : 28
60+ arch : x86_64
61+ script : ANDROID_NDK_ROOT="" skip android test
You can’t perform that action at this time.
0 commit comments