ci: install libicu-dev for Hermes from-source build on Android E2E ru…#29530
ci: install libicu-dev for Hermes from-source build on Android E2E ru…#29530andrepimenta wants to merge 1 commit intochore/build-e2e-rn-update-81from
Conversation
…nner
Hermes is built from source on Android because `android/settings.gradle`
uses `includeBuild('../node_modules/react-native')` to apply our RN patch.
That source build invokes CMake on Hermes, which requires ICU dev headers
(not present on the Linux runner by default), otherwise failing with
`CMake Error: Unable to find ICU.`
Made-with: Cursor
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
❌ E2E Fixture Validation — Failed |
…nner
Hermes is built from source on Android because
android/settings.gradleusesincludeBuild('../node_modules/react-native')to apply our RN patch. That source build invokes CMake on Hermes, which requires ICU dev headers (not present on the Linux runner by default), otherwise failing withCMake Error: Unable to find ICU.Made-with: Cursor
Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
CI-only change that adds a missing OS package; main risk is slightly longer build times or transient
apt-getflakiness.Overview
Fixes Android E2E APK builds on the Linux GitHub runner by installing
libicu-devbefore environment setup, ensuring Hermes can be built from source via CMake when React Native is included as a local build.Adds inline workflow documentation explaining the failure mode (
Unable to find ICU) and why the extra system dependency is required.Reviewed by Cursor Bugbot for commit 2d969cd. Bugbot is set up for automated code reviews on this repo. Configure here.