Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/nestbuildmatrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -570,12 +570,20 @@ jobs:
-Dwith-libneurosim=${{ contains(matrix.use, 'libneurosim') && '$HOME/.cache/libneurosim.install' || 'OFF' }} \
..

- name: "Add GCC problem matcher"
run: |
echo "::add-matcher::gcc_problem_matcher.json"

- name: "Build NEST"
run: |
cd "$NEST_VPATH"
env
make VERBOSE=1

- name: "Remove GCC problem matcher"
run: |
echo "::remove-matcher owner=gcc-problem-matcher::"

- name: "Install NEST"
run: |
cd "$NEST_VPATH"
Expand Down Expand Up @@ -684,12 +692,20 @@ jobs:
-Dwith-libneurosim=${{ contains(matrix.use, 'libneurosim') && '$HOME/.cache/libneurosim.install' || 'OFF' }} \
..

- name: "Add GCC problem matcher"
run: |
echo "::add-matcher::gcc_problem_matcher.json"

- name: "Build NEST"
run: |
cd "$NEST_VPATH"
env
make VERBOSE=1

- name: "Remove GCC problem matcher"
run: |
echo "::remove-matcher owner=gcc-problem-matcher::"

- name: "Install NEST"
run: |
cd "$NEST_VPATH"
Expand Down
17 changes: 17 additions & 0 deletions gcc_problem_matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"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
}
]
}
]
}