File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1616
1717
1818function check_whl {
19- bash -x paddle/scripts/paddle_build.sh build
19+ bash -x paddle/scripts/paddle_build.sh build_only
2020 [ $? -ne 0 ] && echo " build paddle failed." && exit 1
2121 pip uninstall -y paddlepaddle_gpu
2222 pip install build/python/dist/* .whl
@@ -35,13 +35,14 @@ function check_whl {
3535 rm -rf ${PADDLE_ROOT} /build/third_party
3636 fi
3737
38- bash -x paddle/scripts/paddle_build.sh build
38+ bash -x paddle/scripts/paddle_build.sh build_only
3939 [ $? -ne 0 ] && echo " build paddle failed." && exit 1
40- unzip -q python/dist/* .whl -d /tmp/develop
40+ unzip -q build/ python/dist/* .whl -d /tmp/develop
4141
4242 sed -i ' /version.py/d' /tmp/pr/* /RECORD
4343 sed -i ' /version.py/d' /tmp/develop/* /RECORD
4444 diff_whl=` diff /tmp/pr/* /RECORD /tmp/develop/* /RECORD| wc -l`
45+ [ $? -ne 0 ] && echo " diff paddle whl failed." && exit 1
4546 if [ ${diff_whl} -eq 0 ]; then
4647 echo " paddle whl does not diff in PR-CI-Model-benchmark, so skip this ci"
4748 echo " ipipe_log_param_isSkipTest_model_benchmark: 1"
You can’t perform that action at this time.
0 commit comments