11---
22id : task-035
33title : Optimize Android CI build time
4- status : To Do
5- assignee : []
4+ status : In Progress
5+ assignee :
6+ - ' @claude'
67created_date : ' 2026-02-04 20:47'
8+ updated_date : ' 2026-02-04 20:53'
79labels :
810 - ci
911 - android
1012 - performance
1113dependencies : []
1214priority : medium
15+ ordinal : 1000
1316---
1417
1518## Description
@@ -24,8 +27,28 @@ Android CI builds take ~8 minutes compared to iOS's ~2 minutes. Two optimization
2427
2528## Acceptance Criteria
2629<!-- AC:BEGIN -->
27- - [ ] #1 Android Rust target directories are included in GHA cache
28- - [ ] #2 Android builds target only aarch64-linux-android and armv7-linux-androideabi
29- - [ ] #3 i686-linux-android and x86_64-linux-android targets are removed from CI builds
30+ - [x ] #1 Android Rust target directories are included in GHA cache
31+ - [x ] #2 Android builds target only aarch64-linux-android and armv7-linux-androideabi
32+ - [x ] #3 i686-linux-android and x86_64-linux-android targets are removed from CI builds
3033- [ ] #4 Android CI build time is reduced (target: under 5 minutes)
3134<!-- AC:END -->
35+
36+ ## Implementation Plan
37+
38+ <!-- SECTION:PLAN:BEGIN -->
39+ 1 . Modify setup-tauri-build action to add Android Rust target directories to cache path
40+ 2 . Reduce Android Rust targets from 4 to 2 (arm64 + armv7 only)
41+ 3 . Update cache key to include only the relevant target directories
42+ 4 . Test by examining the resulting configuration
43+ <!-- SECTION:PLAN:END -->
44+
45+ ## Implementation Notes
46+
47+ <!-- SECTION:NOTES:BEGIN -->
48+ Modified ` .github/actions/setup-tauri-build/action.yml ` :
49+
50+ - Added Rust target directories to Android cache path (` src-tauri/target/aarch64-linux-android ` , ` src-tauri/target/armv7-linux-androideabi ` )
51+ - Reduced Android targets from 4 to 2: removed ` i686-linux-android ` and ` x86_64-linux-android `
52+
53+ AC #4 (build time reduction) must be verified after CI runs.
54+ <!-- SECTION:NOTES:END -->
0 commit comments