You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,25 @@ jobs:
67
67
script: ./gradlew connectedCheck
68
68
```
69
69
70
+
If you need specific versions of **NDK** and **CMake** installed:
71
+
72
+
```
73
+
jobs:
74
+
test:
75
+
runs-on: macos-latest
76
+
steps:
77
+
- name: checkout
78
+
uses: actions/checkout@v2
79
+
80
+
- name: run tests
81
+
uses: reactivecircus/android-emulator-runner@v2
82
+
with:
83
+
api-level: 29
84
+
ndk: 21.0.6113669
85
+
cmake: 3.10.2.4988404
86
+
script: ./gradlew connectedCheck
87
+
```
88
+
70
89
## Configurations
71
90
72
91
||**Required**|**Default**|**Description**|
@@ -79,6 +98,8 @@ jobs:
79
98
|`disable-animations`| Optional |`true`| Whether to disable animations - `true` or `false`. |
80
99
|`emulator-build`| Optional | N/A | Build number of a specific version of the emulator binary to use e.g. `6061023` for emulator v29.3.0.0. |
81
100
|`working-directory`| Optional |`./`| A custom working directory - e.g. `./android` if your root Gradle project is under the `./android` sub-directory within your repository. |
101
+
|`ndk`| Optional | N/A | Version of NDK to install - e.g. `21.0.6113669`|
102
+
|`cmake`| Optional | N/A | Version of CMake to install - e.g. `3.10.2.4988404`|
82
103
|`script`| Required | N/A | Custom script to run - e.g. to run Android instrumented tests on the emulator: `./gradlew connectedCheck`|
description: 'whether to disable animations - true or false'
24
24
default: 'true'
25
25
emulator-build:
26
-
description: 'build number of a specific version of the emulator binary to use e.g. `6061023` for emulator v29.3.0.0.'
26
+
description: 'build number of a specific version of the emulator binary to use - e.g. `6061023` for emulator v29.3.0.0.'
27
+
working-directory:
28
+
description: 'A custom working directory - e.g. `./android` if your root Gradle project is under the `./android` sub-directory within your repository.'
29
+
ndk:
30
+
description: 'version of NDK to install - e.g. 21.0.6113669'
31
+
cmake:
32
+
description: 'version of CMake to install - e.g. 3.10.2.4988404'
27
33
script:
28
34
description: 'custom script to run - e.g. `./gradlew connectedCheck`'
* Installs & updates the Android SDK for the macOS platform, including SDK platform for the chosen API level, latest build tools, platform tools, Android Emulator,
25
25
* and the system image for the chosen API level, CPU arch, and target.
* Installs & updates the Android SDK for the macOS platform, including SDK platform for the chosen API level, latest build tools, platform tools, Android Emulator,
10
10
* and the system image for the chosen API level, CPU arch, and target.
0 commit comments