Skip to content

Commit 85f1481

Browse files
committed
fix: Run legacy Android ASan on API 33
1 parent fe50d8f commit 85f1481

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/harness-android.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,17 @@ on:
88
workflow_dispatch:
99
inputs:
1010
device_api_level:
11-
description: "Android API level for the emulator"
11+
description: "Override the Android API level for both jobs"
1212
required: false
13-
default: "36"
1413
type: string
1514
device_profile:
1615
description: "Device profile"
1716
required: false
1817
default: "pixel_7"
1918
type: string
2019
avd_name:
21-
description: "AVD name"
20+
description: "Override the AVD name for both jobs"
2221
required: false
23-
default: "Pixel_7_API_36"
2422
type: string
2523
push:
2624
branches:
@@ -70,11 +68,8 @@ on:
7068
- "apps/example/rn-harness.config.mjs"
7169

7270
env:
73-
# Device configuration - can be overridden by workflow_dispatch inputs
74-
DEVICE_API_LEVEL: ${{ github.event.inputs.device_api_level || '36' }}
7571
DEVICE_ARCH: x86_64
7672
DEVICE_PROFILE: ${{ github.event.inputs.device_profile || 'pixel_7' }}
77-
AVD_NAME: ${{ github.event.inputs.avd_name || 'Pixel_7_API_36' }}
7873
AVD_DISK_SIZE: 1G
7974
AVD_HEAP_SIZE: 1G
8075

@@ -90,8 +85,17 @@ jobs:
9085
sanitizer:
9186
- name: Default
9287
gradle_property: ""
88+
device_api_level: "36"
89+
avd_name: Pixel_7_API_36
9390
- name: ASan
9491
gradle_property: "address"
92+
# Keep legacy x86_64 ASan on the API 33 image verified in #1530.
93+
# HWASan requires ARM64; this workflow uses an x86_64 emulator.
94+
device_api_level: "33"
95+
avd_name: Pixel_7_API_33
96+
env:
97+
DEVICE_API_LEVEL: ${{ github.event.inputs.device_api_level || matrix.sanitizer.device_api_level }}
98+
AVD_NAME: ${{ github.event.inputs.avd_name || matrix.sanitizer.avd_name }}
9599
steps:
96100
- uses: actions/checkout@v7
97101
with:

0 commit comments

Comments
 (0)