From 8748a9dcedd2a2481ed079a11b06f35c80221f50 Mon Sep 17 00:00:00 2001 From: superjomn Date: Wed, 12 Jun 2019 06:22:17 +0000 Subject: [PATCH] up --- .gitlab-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4ef5f10be..d3e44ec399 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,10 @@ check:prebuilt: build:server: image: $SERVER_LITE_DOCKER_IMAGE stage: build + cache: + key: server_thirdparty + paths: + - build/third_party script: - export http_proxy=http://agent.baidu.com:8118 - export https_proxy=http://agent.baidu.com:8118 @@ -24,7 +28,10 @@ build:server: build:mobile: stage: build image: $MOBILE_LITE_DOCKER_IMAGE + cache: + key: mobile_thirdparty + paths: + - $MOBILE_LITE_CACHE0 + - $MOBILE_LITE_CACHE1 script: - - export http_proxy=http://agent.baidu.com:8118 - - export https_proxy=http://agent.baidu.com:8118 - ./paddle/fluid/lite/tools/build.sh build_test_arm -- GitLab