gcc-problem-matcher
gcc-problem-matcher copied to clipboard
Removing build path from files
Hello!
I use meson + ninja for building my projects and that has ../ at the start of the file name, which isn't stripped so it doesn't pick up on the files.
Right now I've just bodged that into the regex here: https://github.com/Joshua-Ashton/gcc-problem-matcher but it might be something to look into to solve properly if Github allows it.
Thanks!
Aah thanks for reporting this, I think removing all ../ from the start of the paths is probably a decent solution. Also, it looks like Github allows fromPath in the problem matcher json, maybe this can be offered as an option in the action?
Possibly, will test that out tomorrow