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

Use unity builds to speed up Windows CI #4780

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

ximinez
Copy link
Collaborator

@ximinez ximinez commented Oct 20, 2023

High Level Overview of Change

Reduces Windows CI build time by up to 50%.

Context of Change

As described in #4596 , the automatic Windows builds take a very long time. Nearly an hour and a half on the latest develop.

Unity builds, while they do have issues of their own, are significantly faster - about 45 minutes on the most recent run from this branch, much closer to the typical MacOS (35-40 minutes) and nix (~30 minutes) run times.

I think this would make a good stopgap solution until a more resourced and reliable runner is available.

Type of Change

  • [X ] Refactor (non-breaking change that only restructures code)

Test Plan

No C++ code was changed. This only affects CI, so there is nothing to test.

Future Tasks

As mentioned in #4596, future tasks include making this job run on heavy Windows runners, so it doesn't take so dang long.

@intelliot intelliot merged commit 5026cbd into XRPLF:develop Oct 23, 2023
16 checks passed
@ximinez ximinez deleted the winci-unity branch October 23, 2023 20:19
sophiax851 pushed a commit to sophiax851/rippled that referenced this pull request Jun 12, 2024
The unity build speeds up compilation by bundling multiple source files
into one larger file. This reduces Windows CI build time by up to 50%.

As described in XRPLF#4596, the automatic Windows builds take a very long
time. Unity builds are significantly faster - currently about 45 min,
much closer to the typical MacOS (35-40 minutes) and nix (~30 minutes)
run times.

This is intended as a stopgap solution until a more resourced and
reliable runner is available.

No C++ code was changed. This only affects CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants