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]: fix android job #1158

Merged
merged 1 commit into from
Oct 11, 2024
Merged

[ci]: fix android job #1158

merged 1 commit into from
Oct 11, 2024

Conversation

carsonRadtke
Copy link
Collaborator

@carsonRadtke carsonRadtke commented Oct 11, 2024

Job has been failing for months and is preventing other PRs from getting
merged. This PR fixes the pipeline - it changed the following:

The above were requirements to get the pipeline running. Other changes
include the following:

  • The job will auto-cancel when a newer commit is pushed to the
    PR.
  • The 'Wait for emulator ready' step now has a 2 minute timeout. This
    is necessary because we get no indication on whether or not the
    command that started the emulator suceeded. I believe there is room
    for improvement here, but it is outside the scope of the PR.

@carsonRadtke carsonRadtke force-pushed the fix-android-ci branch 20 times, most recently from 1af193a to 478de58 Compare October 11, 2024 21:55
Job has been failing for months and is preventing other PRs from getting
merged. This PR fixes the pipeline - it changed the following:
 - runs on macos-latest-large (which is a non-arm image)
 - starts the emulator under java8 (see
   https://learn.microsoft.com/en-us/java/openjdk/transition-from-java-8-to-java-11)
 - runs emulator with -no-audio

The above were requirements to get the pipeline running. Other changes
include the following:
 - The job will auto-cancel when a newer commit is pushed to the
 PR.
 - The 'Wait for emulator ready' step now has a 2 minute timeout. This
   is necessary because we get no indication on whether or not the
   command that started the emulator suceeded. I believe there is room
   for improvement here, but it is outside the scope of the PR.
@carsonRadtke carsonRadtke marked this pull request as ready for review October 11, 2024 22:11
@carsonRadtke carsonRadtke changed the title actions: fix CI_Android [ci]: fix android job Oct 11, 2024
@carsonRadtke carsonRadtke self-assigned this Oct 11, 2024
@carsonRadtke carsonRadtke requested a review from d-winsor October 11, 2024 22:19
@d-winsor d-winsor merged commit b206bd1 into microsoft:main Oct 11, 2024
5 checks passed
@carsonRadtke carsonRadtke deleted the fix-android-ci branch October 11, 2024 23:06
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

Successfully merging this pull request may close these issues.

2 participants