From e4894f6773cffb6357bcd38bf6d6e9cc4ef7faed Mon Sep 17 00:00:00 2001 From: Ruslan Lesiutin Date: Tue, 4 Oct 2022 15:38:37 +0100 Subject: [PATCH] feat(.circleci): support both architectures in rntester app --- .circleci/config.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c22de42d947f..92d5cc3d22c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: