From 22ce58eb5a390c11d886e0d89e71fc7238ba7b72 Mon Sep 17 00:00:00 2001 From: superjomn Date: Wed, 12 Jun 2019 05:03:21 +0000 Subject: [PATCH] add gitlab-ci.yml --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..a9a65f9093 --- /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 -- GitLab