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 @@ -381,6 +381,8 @@ jobs:
381
381
python3 --version
382
382
- name : mpy-cross
383
383
run : make -C mpy-cross -j2
384
+ - name : Setup build failure matcher
385
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
384
386
- name : build
385
387
run : python3 -u build_release_files.py
386
388
working-directory : tools
@@ -430,6 +432,8 @@ jobs:
430
432
python3 --version
431
433
- name : mpy-cross
432
434
run : make -C mpy-cross -j2
435
+ - name : Setup build failure matcher
436
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
433
437
- name : build
434
438
run : python3 -u build_release_files.py
435
439
working-directory : tools
@@ -528,6 +532,8 @@ jobs:
528
532
IDF_TOOLS_PATH : ${{ github.workspace }}/.idf_tools
529
533
- name : mpy-cross
530
534
run : make -C mpy-cross -j2
535
+ - name : Setup build failure matcher
536
+ run : echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
531
537
- name : build
532
538
run : |
533
539
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