summaryrefslogtreecommitdiffstats
path: root/.github/problem-matchers/gcc.json
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2020-06-06 11:21:46 (GMT)
committerGitHub <noreply@github.com>2020-06-06 11:21:46 (GMT)
commit5552850f8e6ad6bf610c2633c74ed42dacc81b46 (patch)
tree00563fafcb7496a8bf8e210175b060e5ffbc515b /.github/problem-matchers/gcc.json
parentba6fd87e41dceb01dcdacc57c722aca12cde42a9 (diff)
downloadcpython-5552850f8e6ad6bf610c2633c74ed42dacc81b46.zip
cpython-5552850f8e6ad6bf610c2633c74ed42dacc81b46.tar.gz
cpython-5552850f8e6ad6bf610c2633c74ed42dacc81b46.tar.bz2
[workflow] Use gcc problem matcher for Ubuntu action build (GH-18567)
Diffstat (limited to '.github/problem-matchers/gcc.json')
-rw-r--r--.github/problem-matchers/gcc.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/problem-matchers/gcc.json b/.github/problem-matchers/gcc.json
new file mode 100644
index 0000000..bd5ab6c
--- /dev/null
+++ b/.github/problem-matchers/gcc.json
@@ -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
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file