Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.
ci: dedicated emulator ports + per-API AVDs for self-hosted runs
Rishabh Bajpaib54dff28a7f4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 44aca51..1a49d71 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -167,24 +167,37 @@ jobs:- name: Create AVD and generate snapshot for cachingif: steps.avd-cache.outputs.cache-hit != 'true'+ timeout-minutes: 20uses: reactivecircus/android-emulator-runner@v2with:api-level: 34arch: x86_64target: aosp_atdprofile: pixel_6+ # Per-job AVD name: the default 'test' would be reused across API+ # levels on this persistent box (fresh VMs masked this on hosted).+ avd-name: ci-34+ # NOT 5554: the inbetween app's docker container owns host port+ # 5555 (adb channel), which ghosts as emulator-5554 offline and+ # wedges the boot-wait loop. Do not touch that container.+ emulator-port: 5764+ emulator-boot-timeout: 420force-avd-creation: falsedisable-animations: trueemulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back nonescript: echo "Generated AVD snapshot for caching."- name: Run smoke instrumented tests (API 34)+ timeout-minutes: 25uses: reactivecircus/android-emulator-runner@v2with:api-level: 34arch: x86_64target: aosp_atdprofile: pixel_6+ avd-name: ci-34+ emulator-port: 5764+ emulator-boot-timeout: 420force-avd-creation: falsedisable-animations: trueemulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none@@ -220,18 +233,23 @@ jobs:- api-level: 30target: defaultprofile: pixel_2+ port: 5766- api-level: 33target: aosp_atdprofile: pixel_6+ port: 5768- api-level: 34target: aosp_atdprofile: pixel_6+ port: 5770- api-level: 35target: aosp_atdprofile: pixel_8+ port: 5772- api-level: 36target: google_apisprofile: pixel_8+ port: 5774steps:- uses: actions/checkout@v4@@ -245,7 +263,6 @@ jobs:# See the note on the same step in instrumented-smoke.# GitHub-hosted only — never run the sudo rm -rf cleanup on self-hosted.- # GitHub-hosted only — never run the sudo rm -rf cleanup on self-hosted.- name: Free disk spaceif: runner.environment == 'github-hosted'run: |@@ -286,24 +303,32 @@ jobs:- name: Create AVD and generate snapshot for cachingif: steps.avd-cache.outputs.cache-hit != 'true'+ timeout-minutes: 20uses: reactivecircus/android-emulator-runner@v2with:api-level: ${{ matrix.api-level }}arch: x86_64target: ${{ matrix.target }}profile: ${{ matrix.profile }}+ avd-name: ci-${{ matrix.api-level }}+ emulator-port: ${{ matrix.port }}+ emulator-boot-timeout: 420force-avd-creation: falsedisable-animations: trueemulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back nonescript: echo "Generated AVD snapshot for caching."- name: Run instrumented tests (API ${{ matrix.api-level }})+ timeout-minutes: 25uses: reactivecircus/android-emulator-runner@v2with:api-level: ${{ matrix.api-level }}arch: x86_64target: ${{ matrix.target }}profile: ${{ matrix.profile }}+ avd-name: ci-${{ matrix.api-level }}+ emulator-port: ${{ matrix.port }}+ emulator-boot-timeout: 420force-avd-creation: falsedisable-animations: trueemulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none