Skip to content

Creates annotations for compiler warnings and errors in GitHub Workflows

Notifications You must be signed in to change notification settings

Axel-Naumann/gcc-problem-matcher-improved

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Improved GCC Problem Matcher

FOSSA Status

Creates annotations for compiler diagnostics (warnings and errors) when building your code.

image

Do you prefer your workflow to fail?

Suppose you don't like compiler warnings. Use the Annotation Failure Action! It finds problem annotations created by the Improved GCC Problem Matcher and causes the workflow job to fail. This is way better than -Werror ("any warning is treated as a compilation error") because your build can complete and you can still run your test suite and collect potential test failures.

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.

    - uses: root-project/gcc-problem-matcher-improved@v1
    
    - name: Build
      run: |
        ...

Create annotations for builds done in directory /workspace/build/

    - uses: root-project/gcc-problem-matcher-improved@v1
      with:
        build-directory: /workspace/build/
        
    - name: Build
      run: |
         ...

About

Creates annotations for compiler warnings and errors in GitHub Workflows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.7%
  • C 6.3%