Skip to content

Commit f998a69

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

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/eclair.yaml

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

0 commit comments

Comments
 (0)