Add tests in CI not to break Hermes-Xcode integration (#37594)

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

This change add a test in circleCI to make sure that we don't break the integration between RNTester Hermes and Xcode

## Changelog:
[Internal] - Add circleci test to track the integration between Xcode and Hermes

Reviewed By: dmytrorykun

Differential Revision: D46225044

fbshipit-source-id: 265364a0b4c187ba20b5591b83c63896935a5184
This commit is contained in:
Riccardo Cipolleschi 2023-05-26 08:29:43 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 18a13381d2
Коммит 37d582dccd
1 изменённых файлов: 21 добавлений и 0 удалений

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

@ -922,6 +922,26 @@ jobs:
# ------------------------- # -------------------------
# JOBS: Test iOS RNTester # JOBS: Test iOS RNTester
# ------------------------- # -------------------------
test_ios_rntester_hermes_integration:
executor: reactnativeios
steps:
- checkout_code_with_cache
- run_yarn
- run:
name: Pod install
command: |
cd packages/rn-tester
rm -rf Pods Podfile.lock
bundle install
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
- run:
name: Build RNTester
command: |
xcodebuild build \
-workspace packages/rn-tester/RNTesterPods.xcworkspace \
-scheme RNTester \
-sdk iphonesimulator
test_ios_rntester: test_ios_rntester:
executor: reactnativeios executor: reactnativeios
parameters: parameters:
@ -1597,6 +1617,7 @@ workflows:
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ] - equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
jobs: jobs:
- prepare_hermes_workspace - prepare_hermes_workspace
- test_ios_rntester_hermes_integration
- build_hermesc_linux: - build_hermesc_linux:
requires: requires:
- prepare_hermes_workspace - prepare_hermes_workspace