Skip to content
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

chore(ci): parallel ci #91

Merged
merged 12 commits into from
Feb 28, 2025
Merged

chore(ci): parallel ci #91

merged 12 commits into from
Feb 28, 2025

Conversation

KnorpelSenf
Copy link
Contributor

@KnorpelSenf KnorpelSenf commented Feb 27, 2025

Currently, all tasks are in the same job. As a result, CI takes almost 10 minutes to run.

These changes split up this large job into many smaller ones, one for each task. That way, they can be executed concurrently. This cuts CI times by ~10X with cache and still by ~2X without cache.

This causes some actions like the system setup to be performed repeatedly for each job, but the impact of this can be reduced by skipping the most expensive steps such as installing CPLEX and building all solvers. Instead, we only install the necessary system deps and only build the solver relevant for each test. (If you still do not want to perform the remaining computations redundantly for some reason, that's not a big deal, feel free to leave a comment and close this—it's just a suggestion.)

@lovasoa lovasoa merged commit 994b7eb into rust-or:main Feb 28, 2025
12 checks passed
@lovasoa
Copy link
Collaborator

lovasoa commented Feb 28, 2025

Great, thank you @KnorpelSenf !

@KnorpelSenf KnorpelSenf deleted the parallel-ci branch February 28, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants