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:
Родитель
18a13381d2
Коммит
37d582dccd
|
@ -922,6 +922,26 @@ jobs:
|
|||
# -------------------------
|
||||
# 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:
|
||||
executor: reactnativeios
|
||||
parameters:
|
||||
|
@ -1597,6 +1617,7 @@ workflows:
|
|||
- equal: [ false, << pipeline.parameters.run_nightly_workflow >> ]
|
||||
jobs:
|
||||
- prepare_hermes_workspace
|
||||
- test_ios_rntester_hermes_integration
|
||||
- build_hermesc_linux:
|
||||
requires:
|
||||
- prepare_hermes_workspace
|
||||
|
|
Загрузка…
Ссылка в новой задаче