Skip to content

Commit 7a5c2c5

Browse files
committed
step
1 parent 496ba37 commit 7a5c2c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/package_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

extra/ci_collect_logs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)