Skip to content

CI: Test build for all supported client versions.#2987

Merged
ratkosrb merged 1 commit intovmangos:developmentfrom
mserajnik:test-build-all-client-versions
Apr 2, 2026
Merged

CI: Test build for all supported client versions.#2987
ratkosrb merged 1 commit intovmangos:developmentfrom
mserajnik:test-build-all-client-versions

Conversation

@mserajnik
Copy link
Copy Markdown
Contributor

@mserajnik mserajnik commented Mar 27, 2025

🍰 Pullrequest

This extends the existing test workflow to build for all currently supported client versions (instead of just 1.12.1) with each compiler (GCC, Clang, MSVC) which will help to prevent compilation errors that affect specific client version builds such as this one.

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

@ratkosrb
Copy link
Copy Markdown
Contributor

Won't this overload the CI cause it's too many builds?

@mserajnik
Copy link
Copy Markdown
Contributor Author

mserajnik commented Mar 28, 2025

20 jobs can run at the same time. Since there are 21 24 (as support for 1.5.1.4449 got added) here now, plus the jobs from the other workflows, some won’t start immediately, but only after others have finished.

So, yes, this will increase the overall time each set of workflow runs takes; imo that tradeoff would be worth it, considering there usually aren’t that many PRs/commits at once that would exhaust the available CI resources.

@mserajnik mserajnik force-pushed the test-build-all-client-versions branch 3 times, most recently from 2f79aaf to 4bf9282 Compare January 9, 2026 15:31
@mserajnik mserajnik force-pushed the test-build-all-client-versions branch from 4bf9282 to d7939de Compare March 30, 2026 08:21
@mserajnik mserajnik mentioned this pull request Mar 30, 2026
1 task
@mserajnik mserajnik force-pushed the test-build-all-client-versions branch from d7939de to 682b8c6 Compare March 30, 2026 20:05
@0blu
Copy link
Copy Markdown
Collaborator

0blu commented Mar 30, 2026

@mserajnik Just as an inspiration for your next PR: can you take a look at removing TBB from the GitHub workflows?

@0blu
Copy link
Copy Markdown
Collaborator

0blu commented Mar 30, 2026

I mean we are not paying the bills for the server, soooo as long as GitHub allows those kinds of CI's, why not?

@mserajnik
Copy link
Copy Markdown
Contributor Author

@mserajnik Just as an inspiration for your next PR: can you take a look at removing TBB from the GitHub workflows?

Sure, I didn't notice it didn't get removed from the workflows yet.

I wanted to do some action updates anyway with the upcoming Node.js 20 removal. I'll remove TBB then too.

@mserajnik
Copy link
Copy Markdown
Contributor Author

I wanted to do some action updates anyway with the upcoming Node.js 20 removal. I'll remove TBB then too.

I'm changing this PR to a draft for now while I work on that (since it will need rebasing anyway).

@mserajnik mserajnik marked this pull request as draft March 31, 2026 12:59
@mserajnik mserajnik force-pushed the test-build-all-client-versions branch from 682b8c6 to 25993c6 Compare April 2, 2026 08:54
@mserajnik
Copy link
Copy Markdown
Contributor Author

mserajnik commented Apr 2, 2026

I've rebased this on top of 3e54ff3.

I mean we are not paying the bills for the server, soooo as long as GitHub allows those kinds of CI's, why not?

One other option would be to run the additional client version builds only for PRs, and keep only 1.12.1.5875 on development pushes, as it is today without this PR.

That still would have caught these three issues before #3225 was merged:

So this would preserve most of the value without adding a large number of mostly unnecessary builds to every development push, assuming direct pushes to development (not coming from a PR merge) are not expected to introduce those kinds of build regressions.

Let me know if you'd prefer that.

@mserajnik mserajnik marked this pull request as ready for review April 2, 2026 09:05
@ratkosrb ratkosrb merged commit dabc3e3 into vmangos:development Apr 2, 2026
16 checks passed
@mserajnik mserajnik deleted the test-build-all-client-versions branch April 2, 2026 13:42
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.

3 participants