.gitlab-ci.yml 560 字节
Newer Older
S
superjomn 已提交
1 2 3 4 5 6 7 8 9 10 11 12
before_script:
  - env

image: $SERVER_LITE_DOCKER_IMAGE

stages:
  - ci
  - build

check:prebuilt:
  stage: ci
  script:
S
update  
superjomn 已提交
13
    - cd $CI_PROJECT_DIR/PaddleLite
S
superjomn 已提交
14 15 16 17 18 19
    - ./paddle/scripts/paddle_build.sh check_style

build:server:
  image: $SERVER_LITE_DOCKER_IMAGE
  stage: build
  script:
S
update  
superjomn 已提交
20
    - cd $CI_PROJECT_DIR/PaddleLite
S
superjomn 已提交
21 22 23 24 25 26
    - ./paddle/fluid/lite/tools/build.sh build_test_server

build:mobile:
    stage: build
    image: $MOBILE_LITE_DOCKER_IMAGE
    script:
S
update  
superjomn 已提交
27
        - cd $CI_PROJECT_DIR/PaddleLite
S
superjomn 已提交
28
        - ./paddle/fluid/lite/tools/build.sh build_test_arm