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.34.0.
Update README.md and CHANGELOG.md.
Support API levels for SDK extensions and add missing targets for automotive and desktop. (#428)
Add `Baklava` support (#424)
Copy file name to clipboardExpand all lines: .github/workflows/manually.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,13 @@ on:
7
7
required: true
8
8
default: 'ubuntu-latest'
9
9
api-level:
10
-
description: 'API level of the platform and system image'
10
+
description: 'API level of the platform and system image (if not overridden with system-image-api-level input) - e.g. 33, 35-ext15, Baklava'
11
11
required: true
12
12
default: '34'
13
+
system-image-api-level:
14
+
description: 'API level of the system image - e.g. 34-ext10, 35-ext15'
13
15
target:
14
-
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv or google-tv'
16
+
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv, google-tv, android-automotive, android-automotive-playstore or android-desktop'
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Change Log
2
2
3
+
## Unreleased
4
+
5
+
No changes yet.
6
+
7
+
## v2.34.0
8
+
9
+
* Allow arbitrary value for `api-level` such as `Baklava` and `35-ext15`. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
10
+
* Add option to specify `system-image-api-level` to use a system image with a different API level than the platform. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
11
+
* Support automotive and desktop targets: `android-automotive`, `android-automotive-playstore`, `android-desktop`. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
12
+
3
13
## v2.33.0
4
14
5
15
* Fix missing AVD directory in `ubuntu-24.04` runner. - [415](https://github.com/ReactiveCircus/android-emulator-runner/pull/415)
Copy file name to clipboardExpand all lines: README.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,31 @@ jobs:
119
119
script: ./gradlew connectedCheck
120
120
```
121
121
122
+
If you need a specific [SDK Extensions](https://developer.android.com/guide/sdk-extensions) for the system image but not the platform:
123
+
124
+
```yml
125
+
jobs:
126
+
test:
127
+
runs-on: ubuntu-latest
128
+
steps:
129
+
- name: checkout
130
+
uses: actions/checkout@v4
131
+
132
+
- name: Enable KVM
133
+
run: |
134
+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
135
+
sudo udevadm control --reload-rules
136
+
sudo udevadm trigger --name-match=kvm
137
+
138
+
- name: run tests
139
+
uses: reactivecircus/android-emulator-runner@v2
140
+
with:
141
+
api-level: 34
142
+
system-image-api-level: 34-ext9
143
+
target: android-automotive
144
+
script: ./gradlew connectedCheck
145
+
```
146
+
122
147
We can significantly reduce emulator startup time by setting up AVD snapshot caching:
123
148
124
149
1. add a `gradle/actions/setup-gradle@v4` step for caching Gradle, more details see [#229](https://github.com/ReactiveCircus/android-emulator-runner/issues/229)
| `api-level` | Required | N/A | API level of the platform system image - e.g. 23 for Android Marshmallow, 29 for Android 10. **Minimum API level supported is 15**. |
183
-
| `target` | Optional | `default` | Target of the system image - `default`, `google_apis`, `playstore`, `android-wear`, `android-wear-cn`, `android-tv`, `google-tv`, `aosp_atd` or `google_atd`. Note that `aosp_atd` and `google_atd` currently require the following: `api-level: 30`, `arch: x86` or `arch: arm64-v8` and `channel: canary`. |
207
+
| `api-level` | Required | N/A | API level of the platform and system image - e.g. `23`, `33`, `35-ext15`, `Baklava`. **Minimum API level supported is 15**. |
208
+
| `system-image-api-level` | Optional | same as `api-level` | API level of the system image - e.g. `34-ext10`, `35-ext15`. |
209
+
| `target` | Optional | `default` | Target of the system image - `default`, `google_apis`, `playstore`, `android-wear`, `android-wear-cn`, `android-tv`, `google-tv`, `aosp_atd`, `google_atd`, `android-automotive`, `android-automotive-playstore` or `android-desktop`. Note that `aosp_atd` and `google_atd` currently require the following: `api-level: 30`, `arch: x86` or `arch: arm64-v8` and `channel: canary`. |
184
210
| `arch` | Optional | `x86` | CPU architecture of the system image - `x86`, `x86_64` or `arm64-v8a`. Note that `x86_64` image is only available for API 21+. `arm64-v8a` images require Android 4.2+ and are limited to fewer API levels (e.g. 30). |
185
211
| `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`. |
186
212
| `cores` | Optional | 2 | Number of cores to use for the emulator (`hw.cpu.ncore` in config.ini). |
@@ -243,5 +269,6 @@ These are some of the open-source projects using (or used) **Android Emulator Ru
Copy file name to clipboardExpand all lines: action.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,13 @@ branding:
6
6
color: 'green'
7
7
inputs:
8
8
api-level:
9
-
description: 'API level of the platform and system image - e.g. 23 for Android Marshmallow, 29 for Android 10'
9
+
description: 'API level of the platform and system image - e.g. 23, 33, 35-ext15, Baklava'
10
10
required: true
11
+
system-image-api-level:
12
+
description: 'API level of the system image - e.g. 34-ext10, 35-ext15. If not set the `api-level` input will be used.'
13
+
required: false
11
14
target:
12
-
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv or google-tv'
15
+
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv, google-tv, android-automotive, android-automotive-playstore or android-desktop'
13
16
default: 'default'
14
17
arch:
15
18
description: 'CPU architecture of the system image - x86, x86_64 or arm64-v8a'
0 commit comments