gha: do formatting step in seperate cloud runner in parallel (#3521)

This commit is contained in:
Matt Stevens
2025-12-01 12:22:31 +00:00
committed by GitHub
parent ed02b173ee
commit 359dd1cb21

View File

@@ -9,19 +9,6 @@ internal class PullRequest
{
var builder = new PipelineBuilder( "Pull Request" );
// Add format steps - allow them to fail
// Linux formatting complains about line endings, it's probably enough if we run this windows only anyway
if ( OperatingSystem.IsWindows() )
{
builder.AddStepGroup( "Format",
[
new Format( "Format Engine", Solutions.Engine, Format.Mode.Full, verifyOnly: true ),
new Format( "Format Editor", Solutions.Toolbase, Format.Mode.Whitespace, verifyOnly: true ),
new Format( "Format Menu", Solutions.Menu, Format.Mode.Whitespace, verifyOnly: true ),
new Format( "Format Build Tools", Solutions.BuildTools, Format.Mode.Full, verifyOnly: true )
], continueOnFailure: true );
}
// Add other steps
builder.AddStepGroup( "CodeGen",
[