android / android/nowinandroid
[FR]: Make emulators start faster on CI
- Dominant language
- Kotlin
- Stars
- 21.8k
- Forks
- 4.6k
- Avg merge
- 19h 20m
- Merged PRs (30d)
- 2
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the problem
From https://github.com/android/nowinandroid/pull/1019
The reactivecircus action seems to be downloading and installing a lot of stuff that should already be present in macos-latest. https://github.com/ReactiveCircus/android-emulator-runner/issues/265
For example, the command `[command]/bin/sh -c \sdkmanager --install system-images;android-26;default;x86_64' --channel=0 > /dev/null`
takes 53 seconds to run.
### Describe the solution
TBD
### Additional context
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
Start by reviewing the CI workflow that invokes the ReactiveCircus Android emulator runner and the linked pull request #1019, then compare its sdkmanager installs with macos-latest's available packages. Done means emulator startup no longer downloads packages that are already available and CI still runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, github-actions
- Domain
- ci-cd, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100