diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e66c2299..9af0df3d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,8 +30,6 @@ jobs: yarn yarn lint - sed -i '' 's/"newArchEnabled": true/"newArchEnabled": false/g' path/to/your/file.json - build-ios-old-arch: runs-on: macos-latest steps: @@ -84,13 +82,6 @@ jobs: - name: Install xcpretty run: gem install xcpretty - # Cache Xcode derived data - - name: Cache Xcode Derived Data - uses: actions/cache@v4 - with: - path: apps/external-display-example/ios/build - key: build-${{ github.sha }} - # Build the iOS app using Xcode (with xcpretty) - name: Build iOS App (Debug) with xcpretty working-directory: apps/external-display-example/ios @@ -148,13 +139,6 @@ jobs: - name: Install xcpretty run: gem install xcpretty - # Cache Xcode derived data - - name: Cache Xcode Derived Data - uses: actions/cache@v4 - with: - path: apps/external-display-example/ios/build - key: build-${{ github.sha }} - # Build the iOS app using Xcode (with xcpretty) - name: Build iOS App (Debug) with xcpretty working-directory: apps/external-display-example/ios @@ -177,7 +161,7 @@ jobs: - name: Disable New Architecture in JSON working-directory: apps/external-display-example run: | - sed -i '' 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json + sed -i 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json # Set up Node.js - name: Set up Node.js @@ -221,6 +205,10 @@ jobs: working-directory: apps/external-display-example run: yarn expo prebuild --platform android + - name: Set Gradle JVM options + working-directory: apps/external-display-example + run: echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties + # Build the APK using Gradle (without running on a device) - name: Build Android APK working-directory: apps/external-display-example/android @@ -275,6 +263,10 @@ jobs: working-directory: apps/external-display-example run: yarn expo prebuild --platform android + - name: Set Gradle JVM options + working-directory: apps/external-display-example + run: echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties + # Build the APK using Gradle (without running on a device) - name: Build Android APK working-directory: apps/external-display-example/android