Skip to content

Commit 3622071

Browse files
committed
Increase build timeout
1 parent 6aa97b0 commit 3622071

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/swift.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
android-api: ['28', '29', '31', '33']
1818
android-ndk: ['r27d']
1919
runs-on: ${{ matrix.os }}
20-
timeout-minutes: 30
20+
timeout-minutes: 90
2121
steps:
2222
- uses: actions/checkout@v6
2323
- uses: skiptools/actions/setup-skip@v1
@@ -26,12 +26,21 @@ jobs:
2626
install-swift-android-sdk: true
2727
swift-android-sdk-version: ${{ matrix.android-sdk }}
2828
swift-android-ndk-version: ${{ matrix.android-ndk }}
29-
- name: "Build Swift Package for Android"
29+
30+
- name: "Build Swift Package for Android (aarch64)"
31+
run: |
32+
ANDROID_SDK_VERSION=${{ matrix.android-api }} skip android build --arch aarch64 --android-api-level ${{ matrix.android-api }}
33+
34+
- name: "Build Swift Package for Android (armv7)"
35+
run: |
36+
ANDROID_SDK_VERSION=${{ matrix.android-api }} skip android build --arch armv7--android-api-level ${{ matrix.android-api }}
37+
38+
- name: "Build Swift Package for Android (x86_64)"
3039
run: |
31-
ANDROID_SDK_VERSION=${{ matrix.android-api }} skip android build --arch aarch64 --arch armv7 --arch x86_64 --android-api-level ${{ matrix.android-api }}
40+
ANDROID_SDK_VERSION=${{ matrix.android-api }} skip android build --arch x86_64 --android-api-level ${{ matrix.android-api }}
3241
3342
- name: "Test Swift Package on Android"
34-
# can only lookup the current JavaVirtualMachine on SDK >= 31
43+
# can only lookup the current JavaVirtualMachine on API >= 31
3544
# https://github.com/swiftlang/swift-java/issues/419
3645
if: ${{ matrix.android-api >= 31 }}
3746
uses: reactivecircus/android-emulator-runner@v2

0 commit comments

Comments
 (0)