Skip to content

Commit

Permalink
Add matcher for make errors (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross authored Oct 19, 2022
1 parent de19418 commit 5a82512
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/make.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "make-problem-matcher",
"pattern": [
{
"regexp": "^make(|\\[\\d+\\]): \\*+ \\[(.*?)o?] (Error) (\\d+)",
"file": 2,
"message": 2,
"severity": 3,
"code": 4
}
]
}
]
}
2 changes: 2 additions & 0 deletions etc/ci/github-actions-make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ if [[ "${unameOut}" == CYGWIN* ]]; then
make_one_time_file_real="--real"
fi

echo "::add-matcher::.github/make.json"

rm -f finished.ok
(make "$@" ${OUTPUT_SYNC} TIMED=1 TIMING=1 "${reportify}" 2>&1 && touch finished.ok) | tee -a time-of-build.log
python "./etc/coq-scripts/timing/make-one-time-file.py" ${make_one_time_file_real} "time-of-build.log" "time-of-build-pretty.log" || exit $?
Expand Down

0 comments on commit 5a82512

Please sign in to comment.