Cockatrice/.github
Lukas Brübach d80c77bf6f [CI] Measure Ninja against the Visual Studio generator on Windows
Ninja scales its job pool to the machine it runs on, and it lets a
compiler launcher through, which MSBuild does not; those two are the
reasons to expect it to beat the Visual Studio generator on a 4-core
runner. That is an expectation, not a measurement, so run it as an A/B
next to the Visual Studio job for a week: the extra matrix entry is
allowed to fail, keeps its own " (Ninja)" suffix in the job name, is
never uploaded to a release and never contributes PDBs, so it can
neither block a pull request nor ship anything.

Ninja needs cl.exe and the MSVC environment on PATH, which the Visual
Studio generator gets for free by locating the compiler itself, hence
the setup-msvc-dev step for the experimental job alone. Its build gets
neither the MSBuild switches nor a job count: Ninja rejects -p: options
and sizes its own pool, while the Visual Studio job keeps both. cmake
takes the generator platform from the environment, so it is unset for
everything that is not a Visual Studio generator, where it would
otherwise follow the generator around.

Delete this entry once the numbers are in: if Ninja wins, switch the
Windows matrix to it and fix the PDB paths with it.
2026-10-14 16:15:05 +02:00
..
ISSUE_TEMPLATE Add description for code docs (#6679) 2026-03-08 23:27:15 +01:00
workflows [CI] Measure Ninja against the Visual Studio generator on Windows 2026-10-14 16:15:05 +02:00
CONTRIBUTING.md [CI] Remove Qt5 (#7071) 2026-08-08 22:04:50 +02:00
dependabot.yml bump vcpkg to 2026.04.27 release (#6855) 2026-05-09 14:49:58 +02:00
FUNDING.yml Create FUNDING.yml 2019-11-02 23:52:14 -04:00
PULL_REQUEST_TEMPLATE.md comment explanation out (#3181) 2018-04-09 16:47:44 -04:00