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

Does it work with GitHub Actions? #197

Closed
StefanOltmann opened this issue Aug 30, 2022 · 4 comments
Closed

Does it work with GitHub Actions? #197

StefanOltmann opened this issue Aug 30, 2022 · 4 comments

Comments

@StefanOltmann
Copy link

Without further investigating I would like to ask if you know about any issues running it with GitHub Actions.

My integration test runs fine on my local machine and I just tried to execute it with GitHub Actions, but it fails here:

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':android:installSdkDependenciesForAndroidEmulatorPlugin'.
> Unable to make android emulator executable
@quittle
Copy link
Owner

quittle commented Aug 30, 2022

I was unable to get it to run on GitHub Actions, not because of the issue you faced but because the test runners don't support running emulators. I think they may have a chance of working on the mac runtime but not Linux

@StefanOltmann
Copy link
Author

Thank you for your quick response. I guess Android Emulators must work, because the GitHub runner has an Android Emulator installed: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md

I try that manually now and got the error message PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host.. I used the arm64-v8a ABI which is most likely my error.

@StefanOltmann
Copy link
Author

I guess I just give my vote for #183 , because since I'm developing on a Mac, but want to run it on a Linux GitHub runner this seems to be my problem.

Of course I could run it on the Mac GitHub runner, but they are really expensive.

@StefanOltmann
Copy link
Author

because the test runners don't support running emulators

You are right about that after all. It's installed on the machine for some reason, but it's unusable because it denies to start at all due to missing hardware acceleration.

ReactiveCircus/android-emulator-runner#46

I closed the issue because this problem has nothing to do with your plugin.
Maybe you could see if the log message could be improved to hint to that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants