File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ function print_usage() {
4040 ${BLUE} capi${NONE} : generate paddle CAPI package
4141 ${BLUE} fluid_inference_lib${NONE} : deploy fluid inference library
4242 ${BLUE} check_style${NONE} : run code style check
43+ ${BLUE} cicheck${NONE} : run CI tasks
4344 "
4445}
4546
@@ -453,6 +454,8 @@ function gen_capi_package() {
453454}
454455
455456function gen_fluid_inference_lib() {
457+ mkdir -p ${PADDLE_ROOT} /build
458+ cd ${PADDLE_ROOT} /build
456459 if [ ${WITH_C_API:- OFF} == " OFF" ] ; then
457460 cat << EOF
458461 ========================================
@@ -503,6 +506,13 @@ function main() {
503506 check_style)
504507 check_style
505508 ;;
509+ cicheck)
510+ cmake_gen ${PYTHON_ABI:- " " }
511+ build
512+ run_test
513+ gen_capi_package
514+ gen_fluid_inference_lib
515+ ;;
506516 * )
507517 print_usage
508518 exit 0
You can’t perform that action at this time.
0 commit comments