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 a162b60
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a162b60

Please sign in to comment.