Skip to content

Commit 1020c6b

Browse files
test
1 parent 6ffd372 commit 1020c6b

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "msvc-template-problem-matcher",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:[^\\s].*Microsoft.*)\\(\\d+,?\\d+?(?:,\\d+,\\d+)?\\):\\s(error|warning|info)\\s(\\w{1,2}\\d+):\\s([^\\s].*?)\\s\[(.*)\\]$",
8+
"severity": 1,
9+
"code": 2,
10+
"message": 3,
11+
"fromPath": 4
12+
},
13+
{
14+
"regexp": "^\\s*(?:[^\\s].*Microsoft.*)\\(\\d+,?\\d+?(?:,\\d+,\\d+)?\\):.+$"
15+
},
16+
{
17+
"regexp": "^\\s*\\(compiling source file '.*?'\\)$"
18+
},
19+
{
20+
"regexp": "^\\s+the template instantiation context \\(the oldest one first\\) is$"
21+
},
22+
{
23+
"regexp": "^\\s*([^\\s].*icinga2.*)\\((\\d+),?(\\d+)?(?:,\\d+,\\d+)?\\):$",
24+
"file": 1,
25+
"line": 2,
26+
"column": 3
27+
}
28+
]
29+
}
30+
]
31+
}

.github/problem-matchers/msvc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"owner": "msvc-problem-matcher",
55
"pattern": [
66
{
7-
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+),?(\\d+)?(?:,\\d+,\\d+)?\\):\\s(error|warning|info)\\s(\\w{1,2}\\d+):\\s([^\\s].*?)\\s\\[(.*)\\]$",
7+
"regexp": "^([^\\s].*icinga2.*)\\((\\d+),?(\\d+)?(?:,\\d+,\\d+)?\\):\\s(error|warning|info)\\s(\\w{1,2}\\d+):\\s([^\\s].*?)\\s\\[(.*)\\]$",
88
"file": 1,
99
"line": 2,
1010
"column": 3,

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
& .\doc\win-dev.ps1
4040
4141
- name: Turn on Problem Matcher
42-
run: Write-Host "::add-matcher::.github/problem-matchers/msvc.json"
42+
run: |
43+
Write-Host "::add-matcher::.github/problem-matchers/msvc.json"
44+
Write-Host "::add-matcher::.github/problem-matchers/msvc-templates.json"
4345
4446
- name: Binary
4547
run: |

0 commit comments

Comments
 (0)