diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a46c5e5..53a25077 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,3 +33,36 @@ jobs: - run: npm run bootstrap - run: bash ./scripts/run_ci_tasks.sh -i - run: bash ./scripts/run_ci_tasks.sh -a + + test-android-old-arch: + runs-on: macos-13-xlarge + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.0.1' + + - name: Install CocoaPods + run: gem install cocoapods -v '1.15.2' + + - name: Select Xcode version + run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: 'npm' + + - run: sed -i '' 's/newArchEnabled=true/newArchEnabled=false/' example/android/gradle.properties + - run: npm run bootstrap + - run: bash ./scripts/run_ci_tasks.sh -a + + diff --git a/example/android/gradle.properties b/example/android/gradle.properties index 2cc63729..2f117e04 100644 --- a/example/android/gradle.properties +++ b/example/android/gradle.properties @@ -34,7 +34,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # your application. You should enable this flag either if you want # to write custom TurboModules/Fabric components OR use libraries that # are providing them. -newArchEnabled=true +newArchEnabled=false # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead.