.gitlab-ci.yml 881 字节
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
up  
superjomn 已提交
13
    - ls
S
up  
superjomn 已提交
14
    #- ./paddle/fluid/lite/tools/build.sh check_style
S
superjomn 已提交
15 16 17 18

build:server:
  image: $SERVER_LITE_DOCKER_IMAGE
  stage: build
S
up  
superjomn 已提交
19 20 21 22
  #cache:
    #key: server_thirdparty
    #paths:
        #- build/third_party
S
superjomn 已提交
23
  script:
S
up  
superjomn 已提交
24 25
    - echo "10.91.163.233 github.com" >> /etc/hosts
    - git config --system http.sslVerify false
S
up  
superjomn 已提交
26 27 28
    - mkdir -p build
    - cd build
    - ../paddle/fluid/lite/tools/build.sh cmake_x86
S
up  
superjomn 已提交
29
    - make extern_eigen3
S
superjomn 已提交
30 31 32 33 34
    - ./paddle/fluid/lite/tools/build.sh build_test_server

build:mobile:
    stage: build
    image: $MOBILE_LITE_DOCKER_IMAGE
S
up  
superjomn 已提交
35 36 37 38 39
    #cache:
        #key: mobile_thirdparty
        #paths:
            #- $MOBILE_LITE_CACHE0
            #- $MOBILE_LITE_CACHE1
S
superjomn 已提交
40 41
    script:
        - ./paddle/fluid/lite/tools/build.sh build_test_arm