-
Notifications
You must be signed in to change notification settings - Fork 584
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
Update package-unit-tests.yml to add ccache and ninja #5837
Conversation
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.
Once it finishes, try rerunning the unit test build and make sure it is using the cache.
@@ -34,6 +34,11 @@ jobs: | |||
- uses: actions/setup-node@v3 | |||
with: | |||
node-version: 18 | |||
# ninja-build is used by default if available and results in faster build times | |||
- name: Install ninja | |||
run: sudo apt-get install ninja-build |
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.
Do we not need ccache? I saw it was installed in the other script.
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.
It was my assumption that it wasn't needed and the ccache-action would bring it, which it does seem to do.
it was already finished, so while I was here I just clicked rerun. |
OK, cache clearly is being used. 👍 |
* main: Fix User.callFunction JSDoc to match the v11+ API (#5768) Add Flexible Sync subscribe/unsubscribe APIs (#5772) Fix warning for deprecated namespace setting method in Android (#5862) Update install-test-react-native.yml (#5848) Update package-unit-tests.yml to add ccache and ninja (#5837) Enable cleartext traffic in android test app to make tests work in release builds # Conflicts: # CHANGELOG.md
* fp/update-core-13.13: Corrected changelog Updated changelog Fix User.callFunction JSDoc to match the v11+ API (#5768) Add Flexible Sync subscribe/unsubscribe APIs (#5772) Fix warning for deprecated namespace setting method in Android (#5862) Update install-test-react-native.yml (#5848) Update package-unit-tests.yml to add ccache and ninja (#5837) Enable cleartext traffic in android test app to make tests work in release builds Removed unused Updated changelog # Conflicts: # packages/realm/bindgen/vendor/realm-core # packages/realm/src/index.ts
What, How & Why?
This adds ccache and Ninja to the PR unit test workflow.