I'm integrating srtool into my CI build. As a result of the build, I aim to obtain the client and the runtime. I can compile the runtime with
srtool action and run
cargo build to get the client. But with this approach, CI has to build the runtime twice which is time-consuming.
- Is it possible to avoid duplicating work while obtaining both the client and the runtime as build results?
- If it's challenging to avoid double work, is it acceptable for the node client to be compiled with a different build from the runtime?
- I didn't find any signs in
srtooldocumentation that it is possible to compile node client with it.
- It's not possible to compile the node client separately from the runtime as the client depends on the runtime.