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

Fix CI emulator tests #1176

Merged
merged 3 commits into from
Feb 2, 2024
Merged

Conversation

chrisbanes
Copy link
Contributor

@chrisbanes chrisbanes commented Feb 2, 2024

  • The recent change to macos-14 means that we can't use x64 emulator (as currently set). Ideally we would just use ARM64 emulators, but that is blocked by Support for M1 Silicon - HVF error: HV_UNSUPPORTED ReactiveCircus/android-emulator-runner#350 though.

  • Instead I've refactored the CI setup:

    • Moved most things to run ubuntu-latest. We can use the new nested-virt KVM support to make the emulator fast there.
    • We still use macos-14 but only for iOS builds in a separate job. This is similar to what I do in Tivi.
    • Add some hierarchy to the jobs, so that publish only happens when all of the other jobs pass.
  • Benchmark tests do not work (by default) on emulators, which is why they've been failing for a while. We can suppress that error and get them to run but there's little benefit, so it's better to just disable them when running on an emulator.

Benchmark tests do not work (by default) on emulators. We can suppress
the error and get them to run, but there's little benefit. Better
to just disable them.
@chrisbanes chrisbanes changed the title Disable benchmark tests on CI emulator tests Fix CI emulator tests Feb 2, 2024
Majority of things now run on ubuntu-latest, and iOS
is now a separate job on MacOS
@chrisbanes chrisbanes force-pushed the cb/ci-fork-emulator-tests branch from 18f77db to 28bbbde Compare February 2, 2024 11:02
@chrisbanes chrisbanes marked this pull request as ready for review February 2, 2024 11:48
@ZacSweers ZacSweers added this pull request to the merge queue Feb 2, 2024
Merged via the queue into slackhq:main with commit 045bd6b Feb 2, 2024
5 checks passed
@ZacSweers ZacSweers deleted the cb/ci-fork-emulator-tests branch February 2, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants