A project I'm currently working on takes around 2.5h to build. That's mostly because the code base is huge (1.2m LOC) and the tests are mostly slow. The coverage isn't even that big (around 20% unit and ITs).
Whats the build time of the projects you are working on?
Top comments (3)
Is there a way for this project to be build in different modules?
I don't know which technology but I can assume that with that many lines of code it must be a super complex project. Is there a way not to build everything each time you press the build button?
2.5hrs is A LOT. Like "exporting a 4K video from Premiere" a lot :D
It's possible to build it in modules. The team used to do it like that but they faced issues in the downstream projects when tests suddenly started to fail. This issue can be solved by specifying versions to each module, but then maintaining those versions becomes too complicated. For example each module has to have its own release cycle, and all depending modules have to be updated accordingly.
Without a little more detail it's hard to say but it seems like a good candidate for an app to be split in different apps that communicate with each other. What happens if there's a build error at 2hrs and 29 minutes? You need to build again from scratch after you fix the error?