Skip to content

ci: test RNTester build with prebuilt xcframework#2940

Draft
Saadnajmi wants to merge 5 commits intomicrosoft:mainfrom
Saadnajmi:ci/rntester-prebuilt
Draft

ci: test RNTester build with prebuilt xcframework#2940
Saadnajmi wants to merge 5 commits intomicrosoft:mainfrom
Saadnajmi:ci/rntester-prebuilt

Conversation

@Saadnajmi
Copy link
Copy Markdown
Collaborator

Summary

  • Add a new CI job that builds RNTester using the prebuilt React Core xcframework from the prebuild-macos-core pipeline
  • Validates that the prebuilt artifact actually works in a real app before we publish it to Maven
  • Uses RCT_TESTONLY_RNCORE_TARBALL_PATH (already supported by rncore.rb) to pass the xcframework tarball to pod install
  • Runs a smaller matrix (macOS + iOS, newarch only) to validate without duplicating the full 6-job RNTester matrix

CI flow

build-rntester (6 jobs, unchanged) ────────────────► PR gate
prebuild-macos-core ──► build-rntester-prebuilt ───► PR gate
                        (macOS + iOS, newarch only)

Test plan

  • Build RNTester (Prebuilt) jobs appear in PR CI
  • Jobs wait for Prebuild macOS Core to complete
  • Jobs download the xcframework artifact and pass it to pod install
  • RNTester builds successfully with the prebuilt xcframework
  • Existing Build RNTester jobs are unaffected

🤖 Generated with Claude Code

Add a new CI job that builds RNTester using the prebuilt React Core
xcframework from the prebuild-macos-core pipeline. This validates
the prebuilt artifact works in a real app before we publish it.

The job uses RCT_TESTONLY_RNCORE_TARBALL_PATH (already supported by
rncore.rb) to pass the xcframework tarball to pod install. Runs a
smaller matrix (macOS + iOS, newarch only) to avoid duplicating the
full RNTester matrix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi requested a review from a team as a code owner April 22, 2026 05:58
@Saadnajmi Saadnajmi marked this pull request as draft April 22, 2026 05:59
Saadnajmi and others added 4 commits April 21, 2026 23:02
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix UIKit/UIKit.h not found when building prebuilt xcframework on
  macOS by adding TARGET_OS_OSX platform guard to React-umbrella.h
- Add DynamicFrameworks variant to RNTester build matrix (matches
  upstream test_ios_rntester_dynamic_frameworks, continue-on-error)
- Add Node 24 to JavaScript test matrix (matches upstream test_js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Only set USE_FRAMEWORKS env var when matrix value is non-empty,
  fixing "Invalid linkage option" pod install error for all non-
  DynamicFrameworks jobs
- Mark Node 24 JS tests as continue-on-error since upstream has
  pre-existing SSL test failures with Node 24's stricter defaults

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Drop Node 24 testing — one Node version is sufficient for our CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant