Skip to content

Commit 506165d

Browse files
cipolleschimeta-codesync[bot]
authored andcommitted
Exclude Yoga tests from iOS build (#58439)
Summary: Pull Request resolved: #58439 Fixes OSS CI breakage by excluding the `test` directory from the Yoga SwiftPM target. The new `test/BaselineTest.cpp` requires gtest which is unavailable in the iOS build environment, causing compilation failures. CocoaPods and CMake builds were already unaffected. ## Changelog: [Internal] - --- Agent Home session: https://www.internalfb.com/agent-home?session_id=dmh_fileadiff_diffcomment_D119293889_iDlbpMcSAiXb Reviewed By: cortinico Differential Revision: D119478374 fbshipit-source-id: 3bb754ec921517d66be94ae7a5db1199193fca4a
1 parent a35313a commit 506165d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/react-native/Package.swift‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ let rctDeprecation = RNTarget(
7070
let yoga = RNTarget(
7171
name: .yoga,
7272
path: "ReactCommon/yoga",
73+
excludedPaths: ["test"],
7374
publicHeadersPath: "yoga"
7475
)
7576

0 commit comments

Comments
 (0)