Skip to content

Commit 9df8a13

Browse files
committed
Fix CI
1 parent 9d4abfe commit 9df8a13

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,6 @@ jobs:
8484
- name: Install xcpretty
8585
run: gem install xcpretty
8686

87-
# Cache Xcode derived data
88-
- name: Cache Xcode Derived Data
89-
uses: actions/cache@v4
90-
with:
91-
path: apps/external-display-example/ios/build
92-
key: build-${{ github.sha }}
93-
9487
# Build the iOS app using Xcode (with xcpretty)
9588
- name: Build iOS App (Debug) with xcpretty
9689
working-directory: apps/external-display-example/ios
@@ -148,13 +141,6 @@ jobs:
148141
- name: Install xcpretty
149142
run: gem install xcpretty
150143

151-
# Cache Xcode derived data
152-
- name: Cache Xcode Derived Data
153-
uses: actions/cache@v4
154-
with:
155-
path: apps/external-display-example/ios/build
156-
key: build-${{ github.sha }}
157-
158144
# Build the iOS app using Xcode (with xcpretty)
159145
- name: Build iOS App (Debug) with xcpretty
160146
working-directory: apps/external-display-example/ios
@@ -177,7 +163,7 @@ jobs:
177163
- name: Disable New Architecture in JSON
178164
working-directory: apps/external-display-example
179165
run: |
180-
sed -i '' 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json
166+
sed -i 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json
181167
182168
# Set up Node.js
183169
- name: Set up Node.js
@@ -221,6 +207,10 @@ jobs:
221207
working-directory: apps/external-display-example
222208
run: yarn expo prebuild --platform android
223209

210+
- name: Set Gradle JVM options
211+
working-directory: apps/external-display-example
212+
run: echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
213+
224214
# Build the APK using Gradle (without running on a device)
225215
- name: Build Android APK
226216
working-directory: apps/external-display-example/android
@@ -275,6 +265,10 @@ jobs:
275265
working-directory: apps/external-display-example
276266
run: yarn expo prebuild --platform android
277267

268+
- name: Set Gradle JVM options
269+
working-directory: apps/external-display-example
270+
run: echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
271+
278272
# Build the APK using Gradle (without running on a device)
279273
- name: Build Android APK
280274
working-directory: apps/external-display-example/android

0 commit comments

Comments
 (0)