-
Notifications
You must be signed in to change notification settings - Fork 563
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
Enables Ccache for our RNTA on iOS #6712
Conversation
@@ -2,6 +2,8 @@ require_relative '../../../../node_modules/react-native-test-app/test_app' | |||
|
|||
workspace 'RealmTests.xcworkspace' | |||
|
|||
ENV["USE_CCACHE"] = Pod::Executable::which('ccache') ? "1" : "0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is using Pod::Executable::which:
Returns the absolute path to the binary with the given name on the current
PATH
, ornil
if none is found.
integration-tests/environments/react-native-test-app/ios/Podfile
Outdated
Show resolved
Hide resolved
27fb26c
to
e690e5f
Compare
integration-tests/environments/react-native-test-app/ios/Podfile
Outdated
Show resolved
Hide resolved
Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
For some reason the "Post ccache" step doesn't seem to report ccache being used 🤔 |
What, How & Why?
This uses facebook/react-native#42051 to enabled the use of Ccache when running the React Native Test App tests on iOS.