From 50fb48844afbfd3d232db22c3ee8a5b2eabd5f1b Mon Sep 17 00:00:00 2001 From: Nabil Hachicha Date: Thu, 11 Jul 2024 13:12:24 +0100 Subject: [PATCH] debug --- .github/workflows/pr.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 891c797d16..dd0d978870 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1155,12 +1155,32 @@ jobs: echo yes | sdkmanager --licenses shell: bash - - name: Create AVD image + # - name: Create AVD image + # env: + # ANDROID_AVD_HOME: "/home/runner/.config/.android/avd" + # run: | + # echo no | avdmanager create avd --force -n test --abi 'arm64-v8a' --package 'system-images;android-VanillaIceCream;google_apis_ps16k;arm64-v8a' + # shell: bash + + - name: Run Integration Tests env: + SSH_AUTH_SOCK: /tmp/ssh_agent.sock ANDROID_AVD_HOME: "/home/runner/.config/.android/avd" - run: | - echo no | avdmanager create avd --force -n test --abi 'arm64-v8a' --package 'system-images;android-VanillaIceCream;google_apis_ps16k;arm64-v8a' - shell: bash + uses: nhachicha/android-emulator-runner@main + with: + emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + disable-animations: true + api-level: VanillaIceCream + target: google_apis_ps16k + arch: arm64-v8a + disk-size: 4096M + ram-size: 4096M + heap-size: 1024M + channel: canary + script: | + adb shell cat /proc/meminfo + adb logcat -c + adb logcat > logcat.txt & - name: Setup tmate session env: