diff options
| author | âpengxuanzhengâ <[email protected]> | 2022-03-02 07:53:16 +0000 |
|---|---|---|
| committer | âpengxuanzhengâ <[email protected]> | 2022-03-02 09:29:17 +0000 |
| commit | e7f4277894c8654e47565f01f22d4ffba3db661e (patch) | |
| tree | 4e757c52d4eba2c2e2804c10815d255945675097 /.gitlab-ci.yml | |
| parent | 9d688a9e9eedc7811013beedf43ced03c5f62495 (diff) | |
𧪠test: å¢å gtest
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3661c375..7d39c50f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,8 +7,20 @@ variables: TESTING_VERSION_BUILD: 0 stages: +- analysis +- test - build +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 --suppress=uselessAssignmentPtrArg --suppress=unmatchedSuppression + tags: + - share + .build_by_travis: before_script: - mkdir -p $BUILD_PADDING_PREFIX/$CI_PROJECT_NAMESPACE/ @@ -22,6 +34,18 @@ stages: tags: - share +# run_test: +# stage: test +# extends: .build_by_travis +# variables: +# HOS_MOCK: "ON" +# HOS_MESA_LOG: "OFF" +# script: +# - yum makecache +# - ./ci/travis.sh +# - cd build +# - ctest --verbose + branch_build_debug: stage: build extends: .build_by_travis |
