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
* main:
Prepare for release 2.24.0.
Add option to specify AVD heap size (#245)
Gradle 7.4.2.
Bump GH actions (#240)
Bump minimist from 1.2.5 to 1.2.6 (#237)
Update dependencies in test-fixture.
Add more .gitignore rules (#231)
Update README for using with gradle/gradle-build-action (#230)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Change Log
2
2
3
+
## v2.24.0
4
+
5
+
* Add option to specify `heap-size` for the AVD. - [#245](https://github.com/ReactiveCircus/android-emulator-runner/pull/245)@timusus.
6
+
3
7
## v2.23.0
4
8
5
9
* Update build tools to `32.0.0`. - [#212](https://github.com/ReactiveCircus/android-emulator-runner/pull/212)
Copy file name to clipboardExpand all lines: README.md
+16-19Lines changed: 16 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ It is recommended to run this action on a **macOS** VM, e.g. `macos-latest`, `ma
26
26
27
27
A workflow that uses **android-emulator-runner** to run your instrumented tests on **API 29**:
28
28
29
-
```
29
+
```yml
30
30
jobs:
31
31
test:
32
32
runs-on: macos-latest
33
33
steps:
34
34
- name: checkout
35
-
uses: actions/checkout@v2
35
+
uses: actions/checkout@v3
36
36
37
37
- name: run tests
38
38
uses: reactivecircus/android-emulator-runner@v2
@@ -43,7 +43,7 @@ jobs:
43
43
44
44
We can also leverage GitHub Actions's build matrix to test across multiple configurations:
45
45
46
-
```
46
+
```yml
47
47
jobs:
48
48
test:
49
49
runs-on: macos-latest
@@ -53,7 +53,7 @@ jobs:
53
53
target: [default, google_apis]
54
54
steps:
55
55
- name: checkout
56
-
uses: actions/checkout@v2
56
+
uses: actions/checkout@v3
57
57
58
58
- name: run tests
59
59
uses: reactivecircus/android-emulator-runner@v2
@@ -67,13 +67,13 @@ jobs:
67
67
68
68
If you need specific versions of **NDK** and **CMake** installed:
69
69
70
-
```
70
+
```yml
71
71
jobs:
72
72
test:
73
73
runs-on: macos-latest
74
74
steps:
75
75
- name: checkout
76
-
uses: actions/checkout@v2
76
+
uses: actions/checkout@v3
77
77
78
78
- name: run tests
79
79
uses: reactivecircus/android-emulator-runner@v2
@@ -86,11 +86,12 @@ jobs:
86
86
87
87
We can significantly reduce emulator startup time by setting up AVD snapshot caching:
88
88
89
-
1. add an `actions/cache@v2` step for caching the `avd`
90
-
2. add a `reactivecircus/android-emulator-runner@v2` step to generate a clean snapshot - specify `emulator-options` without `no-snapshot`
91
-
3. add another `reactivecircus/android-emulator-runner@v2` step to run your tests using existing AVD / snapshot - specify `emulator-options` with `no-snapshot-save`
89
+
1. add a `gradle/gradle-build-action@v2` step for caching Gradle, more details see [#229](https://github.com/ReactiveCircus/android-emulator-runner/issues/229)
90
+
2. add an `actions/cache@v3` step for caching the `avd`
91
+
3. add a `reactivecircus/android-emulator-runner@v2` step to generate a clean snapshot - specify `emulator-options` without `no-snapshot`
92
+
4. add another `reactivecircus/android-emulator-runner@v2` step to run your tests using existing AVD / snapshot - specify `emulator-options` with `no-snapshot-save`
| `profile` | Optional | N/A | Hardware profile used for creating the AVD - e.g. `Nexus 6`. For a list of all profiles available, run `avdmanager list device`. |
149
145
| `cores` | Optional | 2 | Number of cores to use for the emulator (`hw.cpu.ncore` in config.ini). |
150
146
| `ram-size` | Optional | N/A | Size of RAM to use for this AVD, in KB or MB, denoted with K or M. - e.g. `2048M` |
147
+
| `heap-size` | Optional | N/A | Heap size to use for this AVD, in KB or MB, denoted with K or M. - e.g. `512M` |
151
148
| `sdcard-path-or-size` | Optional | N/A | Path to the SD card image for this AVD or the size of a new SD card image to create for this AVD, in KB or MB, denoted with K or M. - e.g. `path/to/sdcard`, or `1000M`. |
152
149
| `disk-size` | Optional | N/A | Disk size to use for this AVD. Either in bytes or KB, MB or GB, when denoted with K, M or G. - e.g. `2048M` |
153
150
| `avd-name` | Optional | `test` | Custom AVD name used for creating the Android Virtual Device. |
Copy file name to clipboardExpand all lines: action.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ inputs:
21
21
default: 2
22
22
ram-size:
23
23
description: 'size of RAM to use for this AVD, in KB or MB, denoted with K or M. - e.g. `2048M`'
24
+
heap-size:
25
+
description: 'size of heap to use for this AVD in MB. - e.g. `512M`'
24
26
sdcard-path-or-size:
25
27
description: 'path to the SD card image for this AVD or the size of a new SD card image to create for this AVD, in KB or MB, denoted with K or M. - e.g. `path/to/sdcard`, or `1000M`'
0 commit comments