change simulator used in ios unit tests #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Apps | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/TestApp/Gemfile | |
jobs: | |
build-testapp-android: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Prepare Android | |
uses: ./.github/actions/prepare-android | |
- name: Bundle TestApp JS for Android | |
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android) | |
- name: Build TestApp for Android | |
run: | | |
yarn run build:android | |
build-testapp-newarch-android: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Prepare Android | |
uses: ./.github/actions/prepare-android | |
- name: Bundle TestApp JS for Android | |
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android) | |
- name: Build TestApp for Android | |
run: | | |
ORG_GRADLE_PROJECT_newArchEnabled=true yarn run build:android | |
build-testapp-ios: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Prepare iOS | |
uses: ./.github/actions/prepare-ios | |
- name: Install TestApp cocoapods | |
run: | | |
(cd TestApp/ios;bundle exec pod install) | |
- name: Bundle TestApp JS for iOS | |
run: (cd TestApp;yarn bundle:ios) | |
- name: Build TestApp for iOS | |
run: | | |
yarn run build:ios | |
build-testapp-newarch-ios: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Prepare iOS | |
uses: ./.github/actions/prepare-ios | |
- name: Install TestApp cocoapods | |
run: | | |
(cd TestApp/ios;rm Podfile.lock;RCT_NEW_ARCH_ENABLED=1 bundle exec pod install) | |
- name: Bundle TestApp JS for iOS | |
run: (cd TestApp;yarn bundle:ios) | |
- name: Build TestApp for iOS | |
run: | | |
yarn run build:ios |