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
cargo check modules, runtimes, and node. #72
Conversation
Ooh, maybe we need a virtual manifest https://stackoverflow.com/a/49463321/4184410 |
It is possible to use each module in a trivial way from a single file? For example, import the module, and do something with the |
Got it working much more nicely now with a virtual workspace. |
Hmmm, latest commit breaks CI but passes locally. The error log in ci sounds like maybe our build got killed by a process manager? I wonder if we have limited resources or something? I'm gonna rest on this one for a little while. |
I decided to switch this back to just checking the modules so that at least something was checked in the short term and enlisting the help of Parity's devops team. But now even the module CI fails. In particular it fails with
which doesn't make any sense because:
|
I can reproduce this error locally with rust version:
|
Indeed this is a legitimate fail. I now see the signature of Why this previously passed locally is a mystery, and why the rustdocs are out of date is also a mystery. This particular failure is addressed in #88 Although I'm still having trouble building the node end-to-end. Once the build is working again locally, I'll return to pursuing the CI. |
Okay, so it seems checking the entire node is just too much for CircleCI. I'll remove the node check.
|
These commits all got merged with #90, but github didn't figure that out, so I'll just close this one. |
This is a draft of getting CI to check each module. My approach so far is adding a line in the
.circleci/config.yml
for each module. This has a significant disadvantage that the builds don't share a common target directory so the common stuff gets recompiled every time. I think the solution involves workspaces. Check out how the main substrate repo organizes all those modules into the srml directory. But I'm not sure how to do that.I'd also like to get the cacheing working so the CI doesn't have to download so much stuff each time. @jimmychu0807 I know you took care of the caching on the front end template. Any advice to share?