feat(.circleci): support both architectures in rntester app (#34864)

Summary:
Added a new job to testing RNTester app on both architectures

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] [Added] - Support both architectures to test RNTester iOS app

Pull Request resolved: https://github.com/facebook/react-native/pull/34864

Test Plan: CircleCI jobs

Reviewed By: cortinico, cipolleschi

Differential Revision: D40062371

fbshipit-source-id: 1a28890edc57b64232d647d85694b34d50a9cd64
This commit is contained in:
Ruslan Lesiutin 2022-10-04 10:15:30 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 8486b4c5ee
Коммит 47d23374c2
1 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@ -826,6 +826,10 @@ jobs:
# -------------------------
test_ios_rntester:
executor: reactnativeios
parameters:
architecture:
type: string
default: "OldArch"
steps:
- checkout_code_with_cache
- run_yarn
@ -854,9 +858,14 @@ jobs:
set_tarball_path: True
steps:
- run:
name: Install CocoaPods dependencies
name: Install CocoaPods dependencies - Architecture << parameters.architecture >>
command: |
rm -rf packages/rn-tester/Pods
if [[ << parameters.architecture >> == "NewArch" ]]; then
export RCT_NEW_ARCH_ENABLED=1
fi
cd packages/rn-tester && bundle exec pod install
- run:
@ -1466,6 +1475,9 @@ workflows:
- test_ios_rntester:
requires:
- build_hermes_macos
matrix:
parameters:
architecture: ["NewArch", "OldArch"]
- test_ios:
run_unit_tests: true
requires: