Skip to content
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

improve CI build times #180

Closed
vonovak opened this issue May 23, 2020 · 1 comment
Closed

improve CI build times #180

vonovak opened this issue May 23, 2020 · 1 comment

Comments

@vonovak
Copy link
Member

vonovak commented May 23, 2020

Feature request

It would be nice to get the CI to work faster. This can probably be done by caching the pod_install step and maybe yarn install step.

Possible implementation

We rely on https://github.com/react-native-community/react-native-circleci-orb so potential changes should be done there. We can test them out in this repo and then ship them there.

yarn install is already provided there, with caching (https://github.com/react-native-community/react-native-circleci-orb/blob/master/src/commands/yarn_install.yml) but it throws errors for us if we use it. The error is described in https://github.com/react-native-community/datetimepicker/blob/master/.circleci/config.yml. Issue for this: react-native-community/react-native-circleci-orb#66

the pod_install step could be cached, inspiration can be taken in https://github.com/wordpress-mobile/circleci-orbs or react-native-community/react-native-circleci-orb#58

Code sample

@vonovak vonovak closed this as completed Dec 11, 2021
@vonovak
Copy link
Member Author

vonovak commented Dec 11, 2021

10 minutes on each platform now, including tests :)

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

No branches or pull requests

1 participant