Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Set up workflows for CircleCI #586
I wanted to play around with CircleCI workflows to see if we could have a nicer and more flexible build.
I did! The CI is now using a nice workflow to split up the work and execute tests and building in parallel.
First-ever build (no caches) — 8'
Regular build (caches) — 4'
Build times are pretty much unchanged from the previous setup, because we don't have enough parallelisation yet to have this making much difference. If we wanted PRs to also build APKs and so on, we could then easily add more parallel steps to the build.
Note that the caches (
What we're caching is basically only dependent on the dependencies versions, the Android build configuration (minSdk, targetSdk, etc) and the cache configuration itself (held in the CircleCI setup).