Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hellostu committed Oct 16, 2024
1 parent 9d4abfe commit 9df8a13
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,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
Expand Down Expand Up @@ -148,13 +141,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
Expand All @@ -177,7 +163,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
Expand Down Expand Up @@ -221,6 +207,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
Expand Down Expand Up @@ -275,6 +265,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
Expand Down

0 comments on commit 9df8a13

Please sign in to comment.