New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cirrus CI: proof of concept #1

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@fkorotkov
Copy link
Owner

fkorotkov commented Feb 4, 2019

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.

@fkorotkov

This comment has been minimized.

Copy link
Owner Author

fkorotkov commented Feb 4, 2019

I've also tried to run 30 CPUs but the time improvement was pretty low comparing to 8 CPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment