https://github.com/ammaraskar/gcc-problem-matcher
Github Action to problem match gcc output
https://github.com/ammaraskar/gcc-problem-matcher
Last synced: about 1 year ago
JSON representation
Github Action to problem match gcc output
- Host: GitHub
- URL: https://github.com/ammaraskar/gcc-problem-matcher
- Owner: ammaraskar
- License: apache-2.0
- Created: 2020-02-20T11:01:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T20:48:53.000Z (over 2 years ago)
- Last Synced: 2025-04-06T06:51:39.046Z (about 1 year ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 23
- Watchers: 2
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcc-problem-matcher
Github Action to [problem match](https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md)
output from `gcc`. This allows warnings and errors from the compiler to be
prominently featured in pull requests like so:

This is a direct port of the `$gcc` rule from [vscode-cpptools](https://github.com/microsoft/vscode-cpptools).
Typical usage will be:
```yaml
- uses: ammaraskar/gcc-problem-matcher@master
- name: Build Project
run: make
```
**Note that this action does not build your code for you. It only makes the
errors and warnings from your compiler more prominent.**
## Development
Keep this up-to-date with the upstream vscode-cpptools `gcc` matcher:
https://github.com/microsoft/vscode-cpptools/blob/a8285cbc0efb5b09c2d2229b0e0772dcb3b602df/Extension/package.json#L76-L94