Skip to content

Commit 970de52

Browse files
committed
Run tests with the correct architecture flag
1 parent c8c514a commit 970de52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
run: brew install skiptools/skip/swift-android-toolchain@${{ inputs.swift-version }}
5454
shell: bash
5555
- name: Build Swift package for Android
56-
run: skip android build --build-tests --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }}
56+
run: skip android build --build-tests --arch aarch64 --arch x86_64 --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }}
5757
shell: bash
5858
- name: Run Swift tests on Android emulator
5959
if: ${{ inputs.run-tests == 'true' }}
@@ -63,5 +63,5 @@ runs:
6363
emulator-boot-timeout: ${{ inputs.android-emulator-boot-timeout }}
6464
emulator-options: ${{ inputs.android-emulator-options }}
6565
arch: ${{ inputs.android-emulator-arch }}
66-
script: skip android test --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }} ${{ inputs.swift-test-flags }}
66+
script: skip android test --arch ${{ inputs.android-emulator-arch }} --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }} ${{ inputs.swift-test-flags }}
6767

0 commit comments

Comments
 (0)