File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -88,22 +88,17 @@ jobs:
8888 id : twister
8989 run : |
9090 export ZEPHYR_BASE=${PWD}
91- export ZEPHYR_TOOLCHAIN_VARIANT=llvm
92- export ZEPHYR_SCA_VARIANT=codechecker
91+ export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
92+ # export ZEPHYR_SCA_VARIANT=codechecker
9393 #export CODECHECKER_CONFIG_FILE=$ZEPHYR_BASE/.codechecker.yml
94- export CODECHECKER_CLEANUP=y
95- export CODECHECKER_EXPORT=sarif
96- pip install codechecker==v6.25.1
97- pip install cppcheck
98- #pip install clang-tidy
94+ #export CODECHECKER_CLEANUP=y
95+ #export CODECHECKER_EXPORT=sarif
96+ pip install codechecker==v6.25.1 cppcheck sarif-tools jq
9997
10098 west build -b native_sim samples/synchronization -- -DZEPHYR_SCA_VARIANT=codechecker -DCODECHECKER_EXPORT=sarif
101-
102- - name : Merge sarif files
103- if : always()
104- run : |
105- pip install sarif-tools
10699 sarif copy --output results.sarif $(find build -name "codechecker.sarif")
100+ cat build/sca/codechecker/codechecker.sarif | jq
101+
107102 - name : Upload SARIF as artifact
108103 if : always()
109104 uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
You can’t perform that action at this time.
0 commit comments