mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 04:40:52 +00:00
Enable problem-matchers in CI (#3480)
This commit is contained in:
parent
8271760498
commit
29060aee6a
44
.github/rust-matchers.json
vendored
Normal file
44
.github/rust-matchers.json
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "rust-compiler",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(?:\\x1B\\[[0-9;]*[a-zA-Z])*(warning|warn|error)(\\[(\\S*)\\])?(?:\\x1B\\[[0-9;]*[a-zA-Z])*: (.*?)(?:\\x1B\\[[0-9;]*[a-zA-Z])*$",
|
||||
"severity": 1,
|
||||
"message": 4,
|
||||
"code": 3
|
||||
},
|
||||
{
|
||||
"regexp": "^(?:\\x1B\\[[0-9;]*[a-zA-Z])*\\s+(?:\\x1B\\[[0-9;]*[a-zA-Z])*-->\\s(?:\\x1B\\[[0-9;]*[a-zA-Z])*(\\S+):(\\d+):(\\d+)(?:\\x1B\\[[0-9;]*[a-zA-Z])*$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "rust-formatter",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(Diff in (\\S+)) at line (\\d+):",
|
||||
"message": 1,
|
||||
"file": 2,
|
||||
"line": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "rust-panic",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^.*panicked\\s+at\\s+'(.*)',\\s+(.*):(\\d+):(\\d+)$",
|
||||
"message": 1,
|
||||
"file": 2,
|
||||
"line": 3,
|
||||
"column": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -344,6 +344,8 @@ fn publish(workspace: &Path, args: PublishArgs) -> Result<()> {
|
||||
}
|
||||
|
||||
fn run_ci_checks(workspace: &Path, args: CiArgs) -> Result<()> {
|
||||
println!("::add-matcher::.github/rust-matchers.json");
|
||||
|
||||
let mut failure = false;
|
||||
let started_at = Instant::now();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user