Skip to content

Commit 38d5e8c

Browse files
runningcodeclaude
andcommitted
ci: Add Android 37 emulator to critical UI test matrix
Extend the critical UI integration test matrix to also run against an API level 37 (Android 17) emulator, keeping CI coverage current with the latest Android platform. API 37 is published only as a minor-versioned image, so the api-level is "37.0" (the platform and system image packages are android-37.0, not android-37). It also ships only as google_apis_ps16k; there is no plain google_apis image for this API level. The API 37 emulator crashes on Vulkan initialization and on snapshot restore, so this row forces software rendering, disables Vulkan, and cold boots. See https://issuetracker.google.com/issues/524601393 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 455eb6e commit 38d5e8c

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/integration-tests-ui-critical.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ jobs:
7575
target: google_apis
7676
channel: canary # Necessary for ATDs
7777
arch: x86_64
78+
- api-level: "37.0" # Android 17; API 37 ships only as a minor-versioned image
79+
target: google_apis_ps16k # API 37 has no plain google_apis image
80+
channel: canary # Necessary for ATDs
81+
arch: x86_64
82+
# The API 37 emulator crashes on Vulkan init and on snapshot restore, so
83+
# force software rendering, disable Vulkan, and cold boot.
84+
# See https://issuetracker.google.com/issues/524601393
85+
gpu: swiftshader_indirect
86+
extra-emulator-options: -feature -Vulkan -no-snapshot-load
7887
steps:
7988
- name: Checkout code
8089
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -105,7 +114,7 @@ jobs:
105114
force-avd-creation: false
106115
disable-animations: true
107116
disable-spellchecker: true
108-
emulator-options: -memory 4096 -no-window -gpu auto -noaudio -no-boot-anim -camera-back none
117+
emulator-options: -memory 4096 -no-window -gpu ${{ matrix.gpu || 'auto' }} -noaudio -no-boot-anim -camera-back none ${{ matrix.extra-emulator-options }}
109118
disk-size: 4096M
110119
script: echo "Generated AVD snapshot for caching."
111120

@@ -129,7 +138,7 @@ jobs:
129138
force-avd-creation: false
130139
disable-animations: true
131140
disable-spellchecker: true
132-
emulator-options: -memory 4096 -no-window -gpu auto -noaudio -no-boot-anim -camera-back none -no-snapshot-save
141+
emulator-options: -memory 4096 -no-window -gpu ${{ matrix.gpu || 'auto' }} -noaudio -no-boot-anim -camera-back none -no-snapshot-save ${{ matrix.extra-emulator-options }}
133142
script: |
134143
adb uninstall io.sentry.uitest.android.critical || echo "Already uninstalled (or not found)"
135144
adb install -r -d "${{env.APK_NAME}}"

0 commit comments

Comments
 (0)