Skip to content

Commit a570d25

Browse files
committed
Update README
1 parent 00e3a1c commit a570d25

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,23 @@ jobs:
8282

8383
This action can be run on any of the GitHub `ubuntu-*` and `macos-*` [runner images](https://github.com/actions/runner-images). However, due to the inability of macOS on ARM to run nested virtualization ([issue](https://github.com/ReactiveCircus/android-emulator-runner/issues/350)), the Android emulator cannot be run on these platforms, and so running on any macOS image that uses ARM (including `macos-14` and `macos-15`) requires disabling tests with `run-tests: false`. Running tests are supported on `macos-13`, as well as the large Intel macOS images like `macos-14-large` and `macos-15-large`.
8484

85+
An example of disabling running tests on ARM macOS images is:
86+
87+
```yml
88+
jobs:
89+
macos-android:
90+
runs-on: macos-15
91+
steps:
92+
- uses: actions/checkout@v4
93+
- name: "Test Swift Package on macOS"
94+
run: swift test
95+
- name: "Test Swift Package on Android"
96+
uses: skiptools/swift-android-action@v2
97+
with:
98+
run-tests: false
99+
```
100+
101+
85102
## Complete Universal CI Example
86103

87104
Following is an example of a `ci.yml` workflow that checks out and tests a Swift package on each of macOS, iOS, Linux, Android, and Windows.

0 commit comments

Comments
 (0)