43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
# GCC problem matcher (no longer maintained)
|
|
|
|
> **Warning**
|
|
> This repository is no longer maintained, the new upstream is: https://github.com/root-project/gcc-problem-matcher-improved
|
|
|
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2Folemorud%2Fgcc-problem-matcher?ref=badge_shield)
|
|
|
|
Creates annotations for warnings and errors in gcc builds.
|
|
|
|

|
|
|
|
|
|
|
|
## Inputs
|
|
|
|
### build-directory
|
|
|
|
**Optional** Directory the build is running in. Matched errors will not be able to point to the correct file or create warnings in the `Files changed` overview unless this is correct.
|
|
|
|
## Example usage
|
|
|
|
Create annotations for builds done in the default directory. Add this anywhere before starting the build.
|
|
|
|
```yaml
|
|
- uses: olemorud/gcc-problem-matcher@v1.0
|
|
|
|
- name: Build
|
|
run: |
|
|
...
|
|
```
|
|
|
|
Create annotations for builds done in directory `/workspace/build/`
|
|
|
|
```yaml
|
|
- uses: olemorud/gcc-problem-matcher@master
|
|
with:
|
|
build-directory: /workspace/build/
|
|
|
|
- name: Build
|
|
run: |
|
|
...
|
|
```
|