diff options
| author | liuxueli <[email protected]> | 2021-11-22 23:41:17 +0300 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-11-22 23:41:17 +0300 |
| commit | 78a8b137405bad026a44b595e91fbd36c811600d (patch) | |
| tree | e0484d55b0cac03ffc5b8eef22b80f9b652cc028 /.gitlab-ci.yml | |
| parent | fbbbd1d81e546010a4bd792aac2b3ec367cea980 (diff) | |
TSG-8630: 修复解析RRSIG应答记录异常导致SAPP重启的问题, 增加cppcheck代码检查v2.1.1
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94dfc7b..e10451f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ variables: INSTALL_DEPENDENCY_LIBRARY: libMESA_handle_logger-devel libcjson-devel libMESA_field_stat2-devel sapp-devel framework_env libMESA_prof_load-devel sapp-devel libasan libbreakpad_mini-devel libMESA_htable-devel systemd-devel stages: +- analysis - build - test - package @@ -23,6 +24,16 @@ stages: tags: - share +run_cppcheck: + stage: analysis + script: + - mkdir build || true + - cd build + - cmake3 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. + - cppcheck --project=compile_commands.json --enable=all --error-exitcode=1 --suppress=unusedFunction --suppress=missingInclude + tags: + - share + run_test: stage: test extends: .build_by_travis |
