File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,10 @@ 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
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+ export ZEPHYR_BASE=${PWD}
116+ west -v build -p -b qemu_x86 samples/synchronization -- -DZEPHYR_SCA_VARIANT=eclair -DUSE_CCACHE=0 -DECLAIR_REPORTS_SARIF=1
117+
115118 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
116119 jq --arg basepath "file://${GITHUB_WORKSPACE}/" '
117120 .runs[].results[] |= (
@@ -146,6 +149,7 @@ jobs:
146149 if-no-files-found : ignore
147150 path : |
148151 results.sarif
152+ build
149153
150154 - name : Upload Analysis Results
151155 if : always()
You can’t perform that action at this time.
0 commit comments