diff --git a/tools/test_ci_model_benchmark.sh b/tools/test_ci_model_benchmark.sh index 33d76dea2c5caebd40355627436c8b75d6bdfb33..657e03944a06e63a56d618101f5117a82ebcfc80 100644 --- a/tools/test_ci_model_benchmark.sh +++ b/tools/test_ci_model_benchmark.sh @@ -31,6 +31,7 @@ function check_whl { [ $? -ne 0 ] && echo "install paddle failed." && exit 1 cd build make -j `nproc` + [ $? -ne 0 ] && echo "build paddle failed." && exit 1 unzip -q python/dist/*.whl -d /tmp/develop sed -i '/version.py/d' /tmp/pr/*/RECORD