We do it in several ‘stages’, we have a check pipeline to just compile a single component and run the unit tests, that takes perhaps 5 minutes.
Then we build a incremental AOSP build with the change on top. That takes about 40 minutes.
Then we run the incremental build together with all the other changes for the Das and Do a manual smoke test that the most important stuff works and when it does only then we merge all those changes from the previous day. That takes about two to three hours.
Then there is the nightly test where we build the latest main branch and do static code analysis. That takes forever like 4 hours or so.
Then there are release builds from scratch which also run all the google compliance tests for AOSP and those things run practically for more than a day.
It’s a interesting test of your personal patiance :D. But I don’t think it’s possible to do it with GitHub Actions, we use zuul for it like BMW and Volvo: https://www.youtube.com/watch?v=Z8rofKRen3w
setsubyou@lemmy.world 4 days ago
At work we have CI runs that take almost a week. On fairly powerful systems too. Multiple decades of a “no change without a test case” policy in a large project combined with instrumented debug builds…