Skip to content

Enable Ninja build on Windows in Github workflows #100

@duncanpo

Description

@duncanpo

Ninja can reduce build time. On Windows, it can cut build time by about 6 minutes.
Ninja is enabled on Linux and Mac. On Windows, there is an issue where passing "-G Ninja" flag to cmake causes the build on GitHub Workflows to use mingw compiler instead of Visual Studio, and therefore running into compile errors.

Need to find a way to pass "-G Ninja" flag but continue to use Visual Studio.
Ninja can be obtained on Windows via Chocolatey: choco install ninja

Metadata

Metadata

Assignees

Labels

infrastructureIssues related to building, cmake, packaging, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions