File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,21 @@ jobs:
8989 ccache -p
9090 ccache -z -s -vv
9191
92- - name : Run Tests with Twister
93- id : twister
94- run : |
95- export ZEPHYR_BASE=${PWD}
96- export ZEPHYR_TOOLCHAIN_VARIANT=llvm
97- pip install codechecker==v6.25.1
92+ - name : Run Tests with Twister
93+ id : twister
94+ run : |
95+ export ZEPHYR_BASE=${PWD}
96+ export ZEPHYR_TOOLCHAIN_VARIANT=llvm
97+ pip install codechecker==v6.25.1
98+
99+ west build -b native_sim samples/synchronization -- -DZEPHYR_SCA_VARIANT=codechecker -DCODECHECKER_EXPORT=sarif
98100
99- west build -b native_sim samples/synchronization -- -DZEPHYR_SCA_VARIANT=codechecker -DCODECHECKER_EXPORT=sarif
101+ - name : Upload SARIF file
102+ uses : github/codeql-action/upload-sarif@v3
103+ with :
104+ # Path to SARIF file relative to the root of the repository
105+ sarif_file : build/sca/codechecker/codechecker.sarif
106+ category : codechecker
100107
101108 - name: Print ccache stats
102109 if: always()
You can’t perform that action at this time.
0 commit comments