File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,8 @@ jobs:
379
379
python3 --version
380
380
- name : mpy-cross
381
381
run : make -C mpy-cross -j2
382
+ - name : Setup build failure matcher
383
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
382
384
- name : build
383
385
run : python3 -u build_release_files.py
384
386
working-directory : tools
@@ -428,6 +430,8 @@ jobs:
428
430
python3 --version
429
431
- name : mpy-cross
430
432
run : make -C mpy-cross -j2
433
+ - name : Setup build failure matcher
434
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
431
435
- name : build
432
436
run : python3 -u build_release_files.py
433
437
working-directory : tools
@@ -526,6 +530,8 @@ jobs:
526
530
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
527
531
- name : mpy-cross
528
532
run : make -C mpy-cross -j2
533
+ - name : Setup build failure matcher
534
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
529
535
- name : build
530
536
run : |
531
537
source $IDF_PATH/export.sh
Original file line number Diff line number Diff line change
1
+ {
2
+ "problemMatcher" : [
3
+ {
4
+ "severity" : " error" ,
5
+ "pattern" : [
6
+ {
7
+ "regexp" : " ^(Build .+ and \\ x1b\\ [31mfailed\\ x1b\\ [0m)$" ,
8
+ "message" : 1
9
+ }
10
+ ],
11
+ "owner" : " build-failed"
12
+ }
13
+ ]
14
+ }
You can’t perform that action at this time.
0 commit comments