Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d0c0875e2 | ||
|
|
4f4ec21ba1 | ||
|
|
545126f0e8 | ||
|
|
0005e194cc | ||
|
|
17624185be | ||
|
|
bf055241d4 | ||
|
|
a9f3482630 | ||
|
|
04fba30579 |
23
README.md
23
README.md
@@ -1,19 +1,32 @@
|
|||||||
# GCC problem matcher
|
# 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.
|
Creates annotations for warnings and errors in gcc builds.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
### build-directory
|
### build-directory
|
||||||
|
|
||||||
**Optional** Base directory for build. For builds done in a subdirectory, this should match that directory, otherwise the pattern match will not be able to point to the correct file.
|
**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
|
## Example usage
|
||||||
|
|
||||||
Create annotations for builds done in the root directory
|
Create annotations for builds done in the default directory. Add this anywhere before starting the build.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: olemorud/gcc-problem-matcher@v1.0
|
- uses: olemorud/gcc-problem-matcher@v1.0
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Create annotations for builds done in directory `/workspace/build/`
|
Create annotations for builds done in directory `/workspace/build/`
|
||||||
@@ -22,4 +35,8 @@ Create annotations for builds done in directory `/workspace/build/`
|
|||||||
- uses: olemorud/gcc-problem-matcher@master
|
- uses: olemorud/gcc-problem-matcher@master
|
||||||
with:
|
with:
|
||||||
build-directory: /workspace/build/
|
build-directory: /workspace/build/
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: GCC Problem Matcher Improved
|
name: GCC Problem Matcher Improved (deprecated)
|
||||||
|
|
||||||
description: Get annotations for warnings and errors on builds using gcc
|
description: new upstream: https://github.com/root-project/gcc-problem-matcher-improved
|
||||||
|
|
||||||
author: Ole Morud
|
author: Ole Morud
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user