Skip to content

Comments

chore(ci): optimize android app build with RN App#232

Open
hurali97 wants to merge 6 commits intomainfrom
ci/optimize-android-road-test-vanilla
Open

chore(ci): optimize android app build with RN App#232
hurali97 wants to merge 6 commits intomainfrom
ci/optimize-android-road-test-vanilla

Conversation

@hurali97
Copy link
Member

@hurali97 hurali97 commented Feb 18, 2026

Summary

This reduces the total time of the CI for:

  • RN Tester: by ~4 minutes
  • RN App + Android App: by ~5 minutes

This is mainly achieved by building only one architecture(arm64-v8a) instead of four. Apart from it, we change to gradle/actions/setup-gradle@v4 for better cache handling.

Test plan

CI passes - 🟢

Visuals

RN Tester

Before:

Screenshot 2026-02-19 at 10 54 28 AM

After:

Screenshot 2026-02-19 at 10 54 39 AM
RN App + Android Appr

Before:

Screenshot 2026-02-19 at 10 54 07 AM

After:

Screenshot 2026-02-19 at 10 54 47 AM

@hurali97 hurali97 marked this pull request as ready for review February 19, 2026 05:57
@hurali97 hurali97 force-pushed the ci/optimize-android-road-test-vanilla branch from 491c981 to 5000b11 Compare February 20, 2026 08:33
Copilot AI review requested due to automatic review settings February 20, 2026 08:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request optimizes CI build times by reducing the number of Android architectures built from four (armeabi-v7a, arm64-v8a, x86, x86_64) to one (arm64-v8a), and modernizes Gradle caching by switching from manual cache configuration to the official gradle/actions/setup-gradle action. These changes reduce RN Tester CI time by ~4 minutes and RN App + Android App CI time by ~5 minutes.

Changes:

  • Configure single architecture (arm64-v8a) in gradle.properties for TesterIntegrated and RNApp
  • Add ndk.abiFilters to AndroidApp build configuration to enforce single architecture
  • Replace manual Gradle cache restoration with gradle/actions/setup-gradle@v4 in CI workflow

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

File Description
apps/TesterIntegrated/kotlin/gradle.properties Reduced reactNativeArchitectures from four architectures to arm64-v8a only
apps/RNApp/android/gradle.properties Reduced reactNativeArchitectures from four architectures to arm64-v8a only
apps/AndroidApp/app/build.gradle.kts Added ndk.abiFilters configuration to enforce arm64-v8a architecture
.github/workflows/ci.yml Replaced manual Gradle cache with gradle/actions/setup-gradle@v4 action

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant