From 7722e20adc7b2ca3632e714df0899550b433ab6a Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 4 Jul 2025 09:43:07 +0200 Subject: [PATCH] Use a large screen test device in CI Previously not all buttons were being detected by Appium - I strongly suspect that's becuase the default profile is some tiny phone. Also added another API test level (just to confirm) and switched arch because it turns out modern API levels don't support x86, only _64. --- .github/workflows/ci.yml | 6 +++++- test/android/setup-emulator.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69b661d..fe0c454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - api-level: [30] + api-level: [30, 34] steps: - uses: actions/checkout@v4 @@ -97,6 +97,8 @@ jobs: with: api-level: ${{ matrix.api-level }} target: google_apis + profile: pixel_c + arch: x86_64 force-avd-creation: false emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none script: | @@ -107,6 +109,8 @@ jobs: with: api-level: ${{ matrix.api-level }} target: google_apis + profile: pixel_c + arch: x86_64 force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none script: | diff --git a/test/android/setup-emulator.sh b/test/android/setup-emulator.sh index 37a1c38..2d855f9 100755 --- a/test/android/setup-emulator.sh +++ b/test/android/setup-emulator.sh @@ -24,7 +24,7 @@ fi # Set up Frida server FRIDA_VERSION=$(frida --version) -FRIDA_SERVER_URL="https://github.com/frida/frida/releases/download/${FRIDA_VERSION}/frida-server-${FRIDA_VERSION}-android-x86.xz" +FRIDA_SERVER_URL="https://github.com/frida/frida/releases/download/${FRIDA_VERSION}/frida-server-${FRIDA_VERSION}-android-x86_64.xz" FRIDA_SERVER_LOCAL="/tmp/frida-server" FRIDA_SERVER_REMOTE="/data/local/tmp/frida-server"