Skip to content

Commit 8d3d10d

Browse files
fix: update CI documentation and caching keys for Android and iOS workflows
1 parent c332a24 commit 8d3d10d

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/CI_DOCUMENTATION.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,27 @@ The workflows handle device setup automatically using `reactivecircus/android-em
165165

166166
### iOS
167167

168+
Make sure `iPhone 17 (iOS 26.0)` simulator is up and running
169+
168170
```bash
169171
corepack enable
170172
yarn install
171173
yarn prepare
172174
cd example
173175
yarn pod
174-
yarn harness:ios:full
176+
yarn harness:ios:with:build
175177
```
176178

177179
### Android
178180

181+
Make sure emulator with name `Pixel_API_34` is up and running
182+
179183
```bash
180184
corepack enable
181185
yarn install
182186
yarn prepare
183187
cd example
184-
yarn harness:android:full
188+
yarn harness:android:with:build
185189
```
186190

187191
## Troubleshooting

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
example/android/.gradle
7979
example/android/app/.cxx
8080
example/android/app/build/intermediates
81-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'android/build.gradle', 'example/android/app/build.gradle') }}
81+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'android/build.gradle', 'example/android/app/build.gradle', '.github/workflows/android.yml') }}
8282
restore-keys: |
8383
${{ runner.os }}-gradle-
8484

.github/workflows/ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
4040
with:
4141
path: example/ios/build/Build/Products/Debug-iphonesimulator/MendixNativeExample.app
42-
key: ios-app-${{ runner.os }}-${{ hashFiles('example/ios/Podfile.lock', 'example/ios/**/*.{swift,h,m,mm}', 'ios/**/*.{swift,h,m,mm}', 'src/**/*.{js,jsx,ts,tsx}', 'package.json', 'yarn.lock') }}
42+
key: ios-app-${{ runner.os }}-${{ hashFiles('example/ios/Podfile.lock', 'example/ios/**/*.{swift,h,m,mm}', 'ios/**/*.{swift,h,m,mm}', 'src/**/*.{js,jsx,ts,tsx}', 'package.json', 'yarn.lock', '.github/workflows/ios.yml') }}
4343

4444
# Build dependencies (only if app not cached)
4545
- name: Cache DerivedData

0 commit comments

Comments
 (0)