Skip to content

Update main.yml - #4

Open
AlexGoodmen wants to merge 1 commit into
mainfrom
AlexGoodmen-patch-6
Open

Update main.yml#4
AlexGoodmen wants to merge 1 commit into
mainfrom
AlexGoodmen-patch-6

Conversation

@AlexGoodmen

Copy link
Copy Markdown
Owner

Build step

Compiles your solution using MSBuild

Adds include path GeneralsMD/Code/GameEngine/Source/GameClient

Enables /p:TreatWarningsAsErrors=true so warnings fail the build

Shows only errors and summary for clarity

Static analysis

Runs MSBuild’s built-in code analysis ruleset (you can customize this)

Helps catch security and maintainability issues before merging

✔ Tests

Automatically runs your executable with --test if it exists

Prevents unnecessary failures if no tests are presentHow this helps developers:

Detects errors early → Builds fail immediately on any warning or error

Reduces debugging time → Catches incorrect includes, type mismatches, and bad code patterns before code lands in main

Maintains quality → Static analysis adds an extra safety net

Build step

Compiles your solution using MSBuild

Adds include path GeneralsMD/Code/GameEngine/Source/GameClient

Enables /p:TreatWarningsAsErrors=true so warnings fail the build

Shows only errors and summary for clarity

 Static analysis

Runs MSBuild’s built-in code analysis ruleset (you can customize this)

Helps catch security and maintainability issues before merging

✔ Tests

Automatically runs your executable with --test if it exists

Prevents unnecessary failures if no tests are presentHow this helps developers:

Detects errors early → Builds fail immediately on any warning or error

Reduces debugging time → Catches incorrect includes, type mismatches, and bad code patterns before code lands in main

Maintains quality → Static analysis adds an extra safety net
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.

1 participant