mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add Tests in CircleCI to check dynamic frameworks with the old arch (#36003)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36003 This diff adds 4 tests in CircleCI to make sure we don't regress in the support of Dynamic Frameworks for the old architecture. ## Changelog [iOS][Fixed] - Add CircleCI tests for dynamic frameworks with the Old Architecture. Reviewed By: cortinico Differential Revision: D42829895 fbshipit-source-id: 5669be45d4f55161a11a6ece161b2a2aa384a644
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b3040ec624
commit
8056cd7f05
+64
-2
@@ -853,7 +853,7 @@ jobs:
|
||||
default: "StaticLibraries"
|
||||
description: Which kind of option we want to use for `use_frameworks!`
|
||||
type: enum
|
||||
enum: ["StaticLibraries", "StaticFrameworks"] #TODO: Add "DynamicFrameworks"
|
||||
enum: ["StaticLibraries", "StaticFrameworks", "DynamicFrameworks"]
|
||||
environment:
|
||||
- PROJECT_NAME: "iOSTemplateProject"
|
||||
- HERMES_WS_DIR: *hermes_workspace_root
|
||||
@@ -906,6 +906,8 @@ jobs:
|
||||
|
||||
if [[ << parameters.use_frameworks >> == "StaticFrameworks" ]]; then
|
||||
export USE_FRAMEWORKS=static
|
||||
elif [[ << parameters.use_frameworks >> == "DynamicFrameworks" ]]; then
|
||||
export USE_FRAMEWORKS=dynamic
|
||||
fi
|
||||
|
||||
bundle exec pod install
|
||||
@@ -1636,7 +1638,7 @@ workflows:
|
||||
flavor: ["Debug", "Release"]
|
||||
jsengine: ["Hermes", "JSC"]
|
||||
flipper: ["WithFlipper", "WithoutFlipper"]
|
||||
use_frameworks: [ "StaticLibraries", "StaticFrameworks" ] #TODO: make it works with DynamicFrameworks
|
||||
use_frameworks: ["StaticLibraries", "StaticFrameworks", "DynamicFrameworks"]
|
||||
exclude:
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
@@ -1648,11 +1650,21 @@ workflows:
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
@@ -1663,11 +1675,21 @@ workflows:
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Release"
|
||||
jsengine: "Hermes"
|
||||
@@ -1678,6 +1700,11 @@ workflows:
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Release"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
@@ -1688,6 +1715,11 @@ workflows:
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Release"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "Hermes"
|
||||
@@ -1718,6 +1750,36 @@ workflows:
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "StaticFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "NewArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithoutFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "Hermes"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- architecture: "OldArch"
|
||||
flavor: "Debug"
|
||||
jsengine: "JSC"
|
||||
flipper: "WithFlipper"
|
||||
use_frameworks: "DynamicFrameworks"
|
||||
- test_ios_rntester:
|
||||
requires:
|
||||
- build_hermes_macos
|
||||
|
||||
Reference in New Issue
Block a user