From d9f59fd1481a4fe49f39acded1ad6029b5e0778a Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Tue, 31 Aug 2021 17:07:18 +0800 Subject: [PATCH] Put code style check on gpu_ci (#35309) * notest;test=cpu * test * test=document_fix --- paddle/scripts/paddle_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 58be5862dc5..986a427724b 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -2353,8 +2353,6 @@ function main() { ;; build_and_check_cpu) set +e - check_style_info=$(check_style) - check_style_code=$? find_temporary_files generate_upstream_develop_api_spec ${PYTHON_ABI:-""} ${parallel_number} cmake_gen_and_build ${PYTHON_ABI:-""} ${parallel_number} @@ -2364,6 +2362,8 @@ function main() { ;; build_and_check_gpu) set +e + check_style_info=$(check_style) + check_style_code=$? example_info_gpu="" example_code_gpu=0 if [ "${WITH_GPU}" == "ON" ] ; then -- GitLab