-
Notifications
You must be signed in to change notification settings - Fork 25k
Android CI: Fix up //packages/react-native-codegen:setup_cli src copy issue #30259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D24577333 |
|
Base commit: 36b0f7d |
Summary: Pull Request resolved: facebook#30259 Before side-by-side NDK is supported by the Circle CI image, pending facebook#29050 & facebook#29987, this local.properties file forces Gradle to use the specified SDK/NDK path. We do this internally at FB CI as well. This addresses the following failure: https://app.circleci.com/pipelines/github/facebook/react-native/6851/workflows/9fd91d5d-3f05-4521-93fc-95abd5c84227/jobs/173735 Also, this fixed bad src copy for Buck-building: `//packages/react-native-codegen:setup_cli` Changelog: [Internal] Reviewed By: hramos Differential Revision: D24577333 fbshipit-source-id: 93f11c3e3a3f699415739d0760ee10909eb748ed
9a5d612 to
35cd11f
Compare
|
This pull request was exported from Phabricator. Differential Revision: D24577333 |
Summary: The recursive copy statement fixed here behaved differently in MacOS vs Linus (CI), because of the missing dot (.) The trailing slash on the source directory behaves differently on Mac (BSD) than Linux (GNU): > If the source_file ends in a /, the contents of the directory are copied rather than the directory itself. This should fix the CI failure: https://app.circleci.com/pipelines/github/facebook/react-native/6847/workflows/36d59aab-bc4a-4d21-9ce1-a8348e71aea3/jobs/173681 Changelog: [Internal] Reviewed By: RSNara Differential Revision: D24560543 fbshipit-source-id: c3ab2c28616b717891bcf5d2ad762340cfb97e3d
|
The NDK error went away, then the remaining failure is pending Node v12 upgrade: https://app.circleci.com/pipelines/github/facebook/react-native/6869/workflows/f694be41-d915-4af1-8e82-5e4ae437ef29/jobs/173977 |
Summary: This does a few things: * Remove USE_CODEGEN flag so that TurboModule is enabled by default for RNTester * Use the codegen output for Java/JNI spec files * Remove the checked in com.facebook.fbreact.specs Java/JNI files Changelog: [Changed][Android] RNTester now enables TurboModule by default using codegen. Reviewed By: RSNara Differential Revision: D24382083 fbshipit-source-id: 87e3e0581bac3287ef01c1a0deb070c1d7d40f2d
|
Repurposing this PR to fix Buck failure. NDK and Node 12 issues will be fixed by #30252 |
|
This landed separately: 3a41125 |
Summary:
This fixed bad src copy for Buck-building: //packages/react-native-codegen:setup_cli. Using rsync -L will correctly copy file contents instead of preserving symlinks (which confused yarn).
Changelog: [Internal]
Differential Revision: D24577333