Skip to content

Commit e6597b7

Browse files
committed
Update README
1 parent 84aca99 commit e6597b7

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ on:
2424
- '*'
2525
jobs:
2626
test:
27-
# important: must be macos-13, since the Android emulator does not work on macos-14
27+
# Runner must be macos-13, since lack of nested virtualization support on macos-14 prevents the Android emulator from working
28+
# see: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#limitations-for-arm64-macos-runners
2829
runs-on: macos-13
2930
steps:
3031
- uses: actions/checkout@v4
31-
- name: "Test Swift Package Locally"
32+
- name: "Test Swift Package on macOS"
3233
run: swift test
3334
- name: "Test Swift Package on Android"
3435
uses: skiptools/swift-android-action@v1
@@ -47,32 +48,25 @@ for the [Swift Algorithms](https://github.com/skiptools/swift-algorithms) packag
4748
```
4849
swift-version:
4950
description: 'The version of the Swift toolchain to use'
50-
required: true
5151
default: '5.10.1'
5252
package-path:
5353
description: 'The folder where the swift package is checked out'
54-
required: true
5554
default: '.'
5655
swift-build-flags:
5756
description: 'Additional flags to pass to the swift build command'
58-
required: true
5957
default: ''
60-
android-emulator-options:
61-
description: 'Options to pass to the Android emulator'
62-
required: true
63-
default: '-no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim'
64-
android-emulator-boot-timeout:
65-
description: 'Emulator boot timeout in seconds'
66-
required: true
67-
default: 600
6858
run-tests:
6959
description: 'Whether to run the tests or just the build'
70-
required: true
7160
default: 'true'
7261
android-api-level:
7362
description: 'The API level of the Android emulator to run against'
74-
required: true
7563
default: 24
64+
android-emulator-options:
65+
description: 'Options to pass to the Android emulator'
66+
default: '-no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim'
67+
android-emulator-boot-timeout:
68+
description: 'Emulator boot timeout in seconds'
69+
default: 600
7670
```
7771

7872
## Releasing

0 commit comments

Comments
 (0)