Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] use ubuntu runner to launch android emulator #27450

Merged
merged 4 commits into from
Mar 6, 2024
Merged

Conversation

Kudo
Copy link
Contributor

@Kudo Kudo commented Mar 5, 2024

Why

since the new github linux runner for open source repo supports nested virtualization, it's a good time to try out using ubuntu runner to launch android emulator without blocking macos runners.

How

  • use ubuntu runner to run android emulator.
  • setup kvm according to android-emulator-runner doc
  • clean up more disk space because i've seen running out disk space sometimes

Test Plan

ci passed (nightly test is broken because 0.74 upgrade, will fix later)
reduce ci time:

  • test-suite android-test: 19m -> 3m
  • android-instrumentation-test: 51m -> 17m

@expo-bot expo-bot added the bot: passed checks ExpoBot has nothing to complain about label Mar 5, 2024
@Kudo Kudo marked this pull request as ready for review March 5, 2024 18:47
Copy link
Member

@tsapeta tsapeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@Kudo Kudo merged commit 9d377aa into main Mar 6, 2024
8 of 10 checks passed
@Kudo Kudo deleted the @kudo/ubuntu-android-emu branch March 6, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants