mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
tools/ci/docker/linux/Dockerfile: Install CodeChecker and requirements(clang, clang-tidy)
.github/workflows/build.yml: added CodeChecker support for GitHub Workflow tools/testbuild.sh: added support for CodeChecker checks - Added support for CodeChecker checks. - Generate inspection reports and summaries. - After the task is executed, the logs are compressed and the database is packaged. Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
This commit is contained in:
@@ -122,7 +122,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v, sim-01, sim-02, xtensa]
|
||||
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v, sim-01, sim-02, xtensa, codechecker]
|
||||
|
||||
steps:
|
||||
- name: Download Source Artifact
|
||||
@@ -160,10 +160,15 @@ jobs:
|
||||
git config --global --add safe.directory /github/workspace/sources/nuttx
|
||||
git config --global --add safe.directory /github/workspace/sources/apps
|
||||
cd sources/nuttx/tools/ci
|
||||
./cibuild.sh -A -R -c testlist/${{matrix.boards}}.dat
|
||||
if [ "X${{matrix.boards}}" = "Xcodechecker" ]; then
|
||||
./cibuild.sh -A -R -c --codechecker testlist/${{matrix.boards}}.dat
|
||||
else
|
||||
./cibuild.sh -A -R -c testlist/${{matrix.boards}}.dat
|
||||
fi
|
||||
ccache -s
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: linux-builds
|
||||
path: buildartifacts/
|
||||
|
||||
Reference in New Issue
Block a user