diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a9a65f9093d2f5000ee6e98ba6bf0d94e29e8a89 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +before_script: + - env + +image: $SERVER_LITE_DOCKER_IMAGE + +stages: + - ci + - build + +check:prebuilt: + stage: ci + script: + - cd $CI_PROJECT_DIR/Paddle + - ./paddle/scripts/paddle_build.sh check_style + +build:server: + image: $SERVER_LITE_DOCKER_IMAGE + stage: build + script: + - cd $CI_PROJECT_DIR/Paddle + - ./paddle/fluid/lite/tools/build.sh build_test_server + +build:mobile: + stage: build + image: $MOBILE_LITE_DOCKER_IMAGE + script: + - cd $CI_PROJECT_DIR/Paddle + - ./paddle/fluid/lite/tools/build.sh build_test_arm