File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ jobs:
258258 - name : Prepare log
259259 if : ${{ success() || failure() }}
260260 run : |
261- [ ! -f sketches-reports/${REPORT_FILE} ] && echo "{}" > sketches-reports/${REPORT_FILE}
261+ [ ! -f sketches-reports/${REPORT_FILE} ] && mkdir -p sketches-reports && echo "{}" > sketches-reports/${REPORT_FILE}
262262 sed -i -e 's!/home/runner/.arduino15/packages/arduino/hardware/zephyr/[^/]*/!!g' sketches-reports/${REPORT_FILE}
263263 cat sketches-reports/${REPORT_FILE} | jq -cr ". += { job_id: ${{ steps.job_id.outputs.result }} }" > ${REPORT_FILE} && mv ${REPORT_FILE} sketches-reports/
264264
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ for artifact in $ARTIFACTS ; do
8888 for i in $( seq 0 $(( SKETCH_COUNT - 1 )) ) ; do
8989 REPORT=$( echo $REPORTS | jq -cr " .[$i ]" )
9090 SKETCH_NAME=$( echo $REPORT | jq -cr ' .name' )
91- SKETCH_ISSUES=$( echo $REPORT | jq -cr ' .issues.[]' | sed -e ' s/.*\(\(\/[^/]\+\)\{3\}\):/...\1:/' )
91+ SKETCH_ISSUES=$( echo $REPORT | jq -cr ' .issues.[]' | sed -e ' s/.*\(\(\/[^/]\+\)\{3\}\):/...\1:/' -e ' s/.*ld: .*: undefined/ld: undefined ' | c++filt )
9292 SKETCH_ISSUES_COUNT=$( echo $REPORT | jq -cr ' .issues | length' )
9393 if ! $( echo $REPORT | jq -cr ' .compilation_success' ) ; then
9494 SKETCH_ERRORS=$(( SKETCH_ERRORS + 1 ))
You can’t perform that action at this time.
0 commit comments