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() {
40
40
${BLUE} capi${NONE} : generate paddle CAPI package
41
41
${BLUE} fluid_inference_lib${NONE} : deploy fluid inference library
42
42
${BLUE} check_style${NONE} : run code style check
43
+ ${BLUE} cicheck${NONE} : run CI tasks
43
44
"
44
45
}
45
46
@@ -453,6 +454,8 @@ function gen_capi_package() {
453
454
}
454
455
455
456
function gen_fluid_inference_lib() {
457
+ mkdir -p ${PADDLE_ROOT} /build
458
+ cd ${PADDLE_ROOT} /build
456
459
if [ ${WITH_C_API:- OFF} == " OFF" ] ; then
457
460
cat << EOF
458
461
========================================
@@ -503,6 +506,13 @@ function main() {
503
506
check_style)
504
507
check_style
505
508
;;
509
+ cicheck)
510
+ cmake_gen ${PYTHON_ABI:- " " }
511
+ build
512
+ run_test
513
+ gen_capi_package
514
+ gen_fluid_inference_lib
515
+ ;;
506
516
* )
507
517
print_usage
508
518
exit 0
You can’t perform that action at this time.
0 commit comments