File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,9 @@ jobs:
111111
112112 - name : Scan code with Eclair
113113 run : |
114- ./scripts/twister -j 16 -p qemu_x86 -T samples/synchronization -i --build-only -v -xZEPHYR_SCA_VARIANT=eclair -x=USE_CCACHE=0 -xECLAIR_REPORTS_SARIF=1
115- jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' $(find twister-out -name "reports.sarif") > results.sarif
114+ #./scripts/twister -j 16 -p qemu_x86 -T samples/synchronization -i --build-only -v -xZEPHYR_SCA_VARIANT=eclair -x=USE_CCACHE=0 -xECLAIR_REPORTS_SARIF=1
115+ west build -b qemu_x86 -p samples/synchronization -- -D ZEPHYR_SCA_VARIANT=eclair -D ECLAIR_REPORTS_SARIF=1
116+ jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' $(find build -name "reports.sarif") > results.sarif
116117 jq --arg basepath "file://${GITHUB_WORKSPACE}/" '
117118 .runs[].results[] |= (
118119 # Remove partialFingerprints if it exists
@@ -142,6 +143,7 @@ jobs:
142143 if-no-files-found : ignore
143144 path : |
144145 results.sarif
146+ build/sca/eclair/DIAGNOSTIC.txt
145147
146148 - name : Upload Analysis Results
147149 if : always()
You can’t perform that action at this time.
0 commit comments