CI: Enable GitHub Problem Matchers for compiler warnings.

This commit is contained in:
Jacob Oursland
2024-12-13 16:33:43 -08:00
committed by Chris Hennes
parent 7c1d984b7a
commit e3d81eaf69
3 changed files with 52 additions and 0 deletions

18
.github/problemMatcher/gcc.json vendored Normal file
View File

@@ -0,0 +1,18 @@
{
"__comment": "Taken from vscode-cpptools's Extension/package.json gcc rule",
"problemMatcher": [
{
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}