diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57df2ddcd5e28b3869a59e6f4949bba3a4663254..75177941fc31906bd3110c51ffd32f3ae549f1d0 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,10 @@ check:prebuilt: - pre-commit install - ./paddle/fluid/lite/tools/build.sh check_style #- ./paddle/fluid/lite/tools/build.sh check_need_ci + cache: + key: check_style + paths: + - /root/.cache build:server: image: $SERVER_LITE_DOCKER_IMAGE @@ -27,8 +31,10 @@ build:server: paths: - build/third_party script: - - export http_proxy=http://172.19.57.45:3128 - - export https_proxy=http://172.19.57.45:3128 + #- export http_proxy=http://172.19.57.45:3128 + #- export https_proxy=http://172.19.57.45:3128 + - export http_proxy=http://agent.baidu.com:8118 + - export https_proxy=http://agent.baidu.com:8118 - mkdir -p build - cd build - ../paddle/fluid/lite/tools/build.sh cmake_x86