Skip to content

CI: run Android integration tests on ARM64 #4660

Open

Description

@jpnurmi

Description

There are minor differences in Mono and native crash handling between x86_64 vs. arm64. Currently, we only run Android integration tests on ubuntu-latest-4-cores, which is x86_64. We should add arm64 if/when possible.

Failed attempts:

macos-xxx: M1/M2 do not support nested virtualization ❌
  HVF error: HV_UNSUPPORTED
  qemu-system-aarch64-headless: failed to initialize HVF: Invalid argument
  WARNING      | QEMU main loop exits abnormally with code 1
ubuntu-xxx: Doesn't work with QEMU (qemu-system-arm) ❌
Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host. System image must match the host architecture.
ubuntu-xxx-arm: Android Emulator not available on Linux ARM64 ❌
Install Android SDK
  /usr/bin/sh -c \yes | sdkmanager --licenses > /dev/null
  Installing latest build tools, platform tools, and platform.
  /usr/bin/sh -c \sdkmanager --install 'build-tools;35.0.0' platform-tools 'platforms;android-34'> /dev/null
  Installing latest emulator.
  /usr/bin/sh -c \sdkmanager --install emulator --channel=0 > /dev/null
  Warning: Failed to find package 'emulator'

Potential options:

  • Mac M3: While the current macos-15 and macos-26 runners are M1, and some "large" runners are M2. Neither of them supports nested virtualization, but it should work starting with M3. So maybe this becomes feasible in the future, when GitHub adds M3+ runners...?
  • Linux ARM64: A gist found by random search suggests it might be possible to manually download AOSP emulators from ci.android.com.

Activity

  1. added
    .NETPull requests that update .net code
    on Oct 21, 2025
  2. linear commented on Oct 21, 2025

    @linear
  3. added and removed
    .NETPull requests that update .net code
    on Oct 21, 2025
  4. jamescrosswell commented on Oct 21, 2025

    @jamescrosswell
    Collaborator

    @jpnurmi I take it this is a suggestion for some time in the future then (not something we can action immediately)?

  5. jpnurmi commented on Oct 22, 2025

    @jpnurmi
    CollaboratorAuthor
  6. added
    .NETPull requests that update .net code
    and removed on Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeTask

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions