File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,19 @@ jobs:
93
93
- name: "arduino:zephyr"
94
94
source-path: "ArduinoCore-zephyr"
95
95
sketch-paths : Blink
96
+ cli-compile-flags : |
97
+ - '--build-property'
98
+ - 'compiler.c.extra_flags=-Wno-type-limits -Wno-missing-field-initializers'
99
+ - '--build-property'
100
+ - 'compiler.cpp.extra_flags=-Wno-type-limits -Wno-missing-field-initializers'
96
101
verbose : ' false'
97
102
enable-deltas-report : ' false'
98
103
enable-warnings-report : ' true'
99
104
enable-warnings-log : ' true'
100
105
101
106
- name : Get job ID
102
107
id : job_id
108
+ if : ${{ success() || failure() }}
103
109
uses : actions/github-script@main
104
110
with :
105
111
script : |
@@ -112,11 +118,13 @@ jobs:
112
118
return workflow_run.jobs.find((job) => job.name === job_name).id;
113
119
114
120
- name : Prepare log
121
+ if : ${{ success() || failure() }}
115
122
run : |
116
123
sed -i -e 's!/home/runner/.arduino15/packages/arduino/hardware/zephyr/[^/]*/!!g' sketches-reports/${REPORT_FILE}
117
124
cat sketches-reports/${REPORT_FILE} | jq -cr ".boards[0].sketches[0] += { job_id: ${{ steps.job_id.outputs.result }} }" > ${REPORT_FILE} && mv ${REPORT_FILE} sketches-reports/
118
125
119
126
- uses : actions/upload-artifact@v4
127
+ if : ${{ success() || failure() }}
120
128
with :
121
129
name : test-report-${{ needs.package-core.outputs.CORE_TAG }}-${{ matrix.board }}
122
130
path : sketches-reports/*
You can’t perform that action at this time.
0 commit comments