.gitlab-ci.yml 578 字节
Newer Older
S
superjomn 已提交
1 2
before_script:
  - env
S
up  
superjomn 已提交
3 4
  - pwd
  - ls -l
S
superjomn 已提交
5 6 7 8 9 10 11 12 13 14

image: $SERVER_LITE_DOCKER_IMAGE

stages:
  - ci
  - build

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

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

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