浏览代码

Update .gitlab-ci.yml file

Juraj Ďuďák 2 年之前
父节点
当前提交
24b62b3f82
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      .gitlab-ci.yml

+ 8 - 8
.gitlab-ci.yml

@@ -9,17 +9,17 @@ before_script:
     - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
 
 stages: 
-    #- checks
+#    - checks
     - build_release
     - doxy_stage
 
-check-lint:
-    image: xianpengshen/clang-tools:14
-    stage: checks
-    script:
-        - linter_errors=$(clang-format -n ./src/* 2>&1 | grep  -v --color=never "no modified files to format" || true)
-        - echo "$linter_errors"
-        - if [[ ! -z "$linter_errors" ]]; then echo "Detected formatting issues; please fix"; exit 1; else echo "Formatting is correct"; exit 0; fi
+#check-lint:
+#    image: xianpengshen/clang-tools:14
+#    stage: checks
+#    script:
+#        - linter_errors=$(clang-format -n ./src/* 2>&1 | grep  -v --color=never "no modified files to format" || true)
+#        - echo "$linter_errors"
+#        - if [[ ! -z "$linter_errors" ]]; then echo "Detected formatting issues; please fix"; exit 1; else echo "Formatting is correct"; exit 0; fi
 
 
 build_release: