未验证 提交 d9f59fd1 编写于 作者: T tianshuo78520a 提交者: GitHub

Put code style check on gpu_ci (#35309)

* notest;test=cpu

* test

* test=document_fix
上级 96e7d903
...@@ -2353,8 +2353,6 @@ function main() { ...@@ -2353,8 +2353,6 @@ function main() {
;; ;;
build_and_check_cpu) build_and_check_cpu)
set +e set +e
check_style_info=$(check_style)
check_style_code=$?
find_temporary_files find_temporary_files
generate_upstream_develop_api_spec ${PYTHON_ABI:-""} ${parallel_number} generate_upstream_develop_api_spec ${PYTHON_ABI:-""} ${parallel_number}
cmake_gen_and_build ${PYTHON_ABI:-""} ${parallel_number} cmake_gen_and_build ${PYTHON_ABI:-""} ${parallel_number}
...@@ -2364,6 +2362,8 @@ function main() { ...@@ -2364,6 +2362,8 @@ function main() {
;; ;;
build_and_check_gpu) build_and_check_gpu)
set +e set +e
check_style_info=$(check_style)
check_style_code=$?
example_info_gpu="" example_info_gpu=""
example_code_gpu=0 example_code_gpu=0
if [ "${WITH_GPU}" == "ON" ] ; then if [ "${WITH_GPU}" == "ON" ] ; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册