Commit 13e0345
committed
Fix CI: Update pipelines for correct simulator artifact generation
- Updated `.github/workflows/maven.yml`:
- Replaced manual Android emulator script with `reactivecircus/android-emulator-runner@v2`.
- Added explicit steps to locate and compile the generated native projects:
- Android: Runs `./gradlew assembleDebug` after `mvn cn1:build`.
- iOS: Runs `xcodebuild` on the generated `.xcodeproj`.
- Configured correct JDK versions (JDK 11 for Maven, JDK 17 for Gradle/Android tools).
- Set timeouts to prevent indefinite hangs.
- Updated `scripts/ci/build-thirdparty-app.sh`:
- Changed Maven goal from `package` to `cn1:build` to correctly generate native sources.
- Set default build targets to `android-source` and `ios-source`.
- Updated `scripts/ci/run-ios-simulator.sh`:
- Improved runtime detection and error handling for missing app bundles.
- Removed `scripts/ci/start-android-emulator.sh` as it is replaced by the GitHub Action.1 parent 6c3329f commit 13e0345
File tree
2 files changed
+29
-6
lines changed- .github/workflows
- scripts/ci
2 files changed
+29
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
61 | 83 | | |
62 | 84 | | |
63 | 85 | | |
| |||
68 | 90 | | |
69 | 91 | | |
70 | 92 | | |
71 | | - | |
| 93 | + | |
72 | 94 | | |
73 | 95 | | |
74 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments