3030 yarn
3131 yarn lint
3232
33- sed -i '' 's/"newArchEnabled": true/"newArchEnabled": false/g' path/to/your/file.json
34-
3533 build-ios-old-arch :
3634 runs-on : macos-latest
3735 steps :
8482 - name : Install xcpretty
8583 run : gem install xcpretty
8684
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-
9485 # Build the iOS app using Xcode (with xcpretty)
9586 - name : Build iOS App (Debug) with xcpretty
9687 working-directory : apps/external-display-example/ios
@@ -148,13 +139,6 @@ jobs:
148139 - name : Install xcpretty
149140 run : gem install xcpretty
150141
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-
158142 # Build the iOS app using Xcode (with xcpretty)
159143 - name : Build iOS App (Debug) with xcpretty
160144 working-directory : apps/external-display-example/ios
@@ -177,7 +161,7 @@ jobs:
177161 - name : Disable New Architecture in JSON
178162 working-directory : apps/external-display-example
179163 run : |
180- sed -i '' ' s/"newArchEnabled": true/"newArchEnabled": false/g' app.json
164+ sed -i 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json
181165
182166 # Set up Node.js
183167 - name : Set up Node.js
@@ -221,6 +205,10 @@ jobs:
221205 working-directory : apps/external-display-example
222206 run : yarn expo prebuild --platform android
223207
208+ - name : Set Gradle JVM options
209+ working-directory : apps/external-display-example
210+ run : echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
211+
224212 # Build the APK using Gradle (without running on a device)
225213 - name : Build Android APK
226214 working-directory : apps/external-display-example/android
@@ -275,6 +263,10 @@ jobs:
275263 working-directory : apps/external-display-example
276264 run : yarn expo prebuild --platform android
277265
266+ - name : Set Gradle JVM options
267+ working-directory : apps/external-display-example
268+ run : echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
269+
278270 # Build the APK using Gradle (without running on a device)
279271 - name : Build Android APK
280272 working-directory : apps/external-display-example/android
0 commit comments