BabylonReactNative icon indicating copy to clipboard operation
BabylonReactNative copied to clipboard

Build system with RNTA for RN 0.73+

Open CedricGuillemet opened this issue 1 year ago • 0 comments

WIP Goals:

  • use RNTA and deprecate old playgrounds
  • faster builds using more splitting
  • upload artifacts at different steps, for all platforms, to ease debugging
  • build and test publishing for less surprises when cutting a new npm

Done :

  • [x] use a git patch to select RN and apply dependency changes.
  • [x] Split builds. with enough agents, should be <25min overall
  • [x] Test publishing (dry run) for every PR. overhead is very acceptable now
  • [x] Replace download-artifact with v4 as v2 is deprecated
  • [x] New RN versions (0.73+) will use RNTA build to produce the package. Legacy buildis kept until being replaced with deprecated versions
  • [x] Testable Windows Artifacts
  • [x] Clean up build warnings
  • [ ] produce testable artifacts (ios/android apk)
  • [ ] Tests with legacy build
  • [ ] factorize yml so PR and publish are same processes

Issues:

  • [x] BRNPlayground build with basekit on windows: issue with dependencies in vcxproj
  • [ ] windows patched versions do not build
  • [ ] x86 does not build. is it still needed?
  • [ ] Running produced Android artifact gives only a black screen

later:

  • [ ] Use BabylonNative prebuilt (gain on Windows is <2min. unknown gain on iOS/Android)
  • [ ] VisionOS

CedricGuillemet avatar Jun 17 '24 15:06 CedricGuillemet