-
Notifications
You must be signed in to change notification settings - Fork 58
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
Improve CI build and test speeds #1571
Comments
@maxirmx could you please help here? Thanks. |
It looks like MSVC jobs use Debug configuration I believe I reproduced this issue locally. |
@maxirmx is the debug configuration causing tests to run much slower? |
@ronaldtse If there are no optimisations then tests would run slower indeed. Looks like we are hardcoding Debug configuration in the
|
For -G "Visual Studio 16 2019" build type is ignored. |
Well, it looks like debug configuration doubles test time for MSVC I changed it, we will see if it helps. |
debian9 job rebuilds some or all dependencies without cashing |
Indeed we would want to have some aggressive caching to speed up the CI time. |
I will do a fork. Otherwise my experiments with GHA will block everybody else |
Debian9 job uses i386 (32 bit) container and is affected by the following bug: There are two possible solutions that can resolve the issue and allow run optimized checkout and aggressive caching:
|
I'm not even sure why we're only testing Debian 9 but not Debian 10/11.
|
@ronaldtse Debian 9 CI was added to be able to check system with 32-bit time_t |
Thanks for the reminder! We should probably test against Debian 10 and 11 as well. |
Some thoughts how to reduce debian9 build time by 10 min and bring overall time down to 55-56 min:
So we can do one of the following:
|
In this case the additional maintenance burden of docker containers is probably not worthwhile. The caching mechanisms implement are already good enough I suppose. |
Having Docker container has another benefit - we would be safe from periodical failures due to runner or dependencies updates. |
I believe this issue can be closed now. |
Our CI builds have increased in build times since adding multiple platforms.
The Windows MSVC builds/tests are especially slow and is becoming a blocking issue for effectively merging PRs.
We need to improve our CI build/test speed.
Thanks to @maxirmx for the following analysis of CI build speeds, we know what to improve one by one.
The text was updated successfully, but these errors were encountered: