Skip to content

Commit 6691f88

Browse files
committed
use west
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent a8634be commit 6691f88

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/eclair.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +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
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 -v build -p -b samples/synchronization -- -DZEPHYR_SCA_VARIANT=eclair -DUSE_CCACHE=0 -DECLAIR_REPORTS_SARIF=1
116+
115117
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
116118
jq --arg basepath "file://${GITHUB_WORKSPACE}/" '
117119
.runs[].results[] |= (
@@ -146,6 +148,7 @@ jobs:
146148
if-no-files-found: ignore
147149
path: |
148150
results.sarif
151+
build
149152
150153
- name: Upload Analysis Results
151154
if: always()

0 commit comments

Comments
 (0)