Skip to content

🚀 Optimize EAS build times with caching and reduced architectures#24

Merged
williamchong merged 1 commit intolikecoin:mainfrom
williamchong:feature/eas
Mar 27, 2026
Merged

🚀 Optimize EAS build times with caching and reduced architectures#24
williamchong merged 1 commit intolikecoin:mainfrom
williamchong:feature/eas

Conversation

@williamchong
Copy link
Copy Markdown
Member

Enable ccache for iOS, limit Android to arm64-v8a, and add EAS build cache keys to speed up warm builds.

Enable ccache for iOS, limit Android to arm64-v8a, and add EAS build
cache keys to speed up warm builds.
Copy link
Copy Markdown
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 PR aims to speed up EAS warm builds by enabling additional caching and reducing build work (Android ABI narrowing, iOS compilation caching) in this Expo-managed app.

Changes:

  • Added an explicit EAS build cache key to all build profiles (development/preview/production).
  • Enabled iOS ccache via expo-build-properties.
  • Limited Android build architectures to arm64-v8a via expo-build-properties.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
eas.json Adds cache.key to each EAS build profile to influence warm-build caching behavior.
app.json Updates expo-build-properties to enable iOS ccache and restrict Android ABIs to arm64.

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

"ccacheEnabled": true
},
"android": {
"buildArchs": ["arm64-v8a"]
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

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

Setting Android to build only arm64-v8a can break local development on the default Android emulator (commonly x86_64), and can also drop support for 32-bit/other ABIs if you intend to distribute broadly. If the intent is only to speed up EAS production builds, consider scoping the ABI restriction to the relevant EAS build profiles (or keeping x86_64 for debug/dev) rather than applying it globally in app.json.

Suggested change
"buildArchs": ["arm64-v8a"]
"buildArchs": ["arm64-v8a", "x86_64"]

Copilot uses AI. Check for mistakes.
@williamchong williamchong merged commit 141dcc0 into likecoin:main Mar 27, 2026
5 checks passed
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.

3 participants