Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cirrus CI: proof of concept #1
In the lights of the recent post about Rust looking for alternative CIs, I've made a quick attempt to migrate to Cirrus CI.
Thankfully Rust's CI build is already Dockerized and Cirrus CI supports Dockerfile as an environment for tasks. So there is no need to do the Docker image building and caching like in the current setup. Cirrus CI does it automatically based on Dockerfile content.
As you can see the config is small and pretty simple and Cirrus CI performs quite well since it uses 8 CPU and 24G of memory.
I also tried to run with less CPU and memory and noticed that more resources don't make the build linearly faster. I assume there is a great potential in optimizing the build itself to use all available CPUs.
@pietroalbini PTAL and let me know if you'd like to evaluate something else.