Move cache usage declaration into build-linux
This commit is contained in:
parent
0ca3f53904
commit
ecdffd3599
1 changed files with 3 additions and 4 deletions
|
@ -11,16 +11,15 @@ clang-format:
|
||||||
- git submodule update --init --depth 1 --recursive
|
- git submodule update --init --depth 1 --recursive
|
||||||
- bash .ci/scripts/format/script.sh
|
- bash .ci/scripts/format/script.sh
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- ccache/
|
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
stage: build
|
stage: build
|
||||||
image: suyuemu/cibuild:linux-x64
|
image: suyuemu/cibuild:linux-x64
|
||||||
resource_group: linux-ci
|
resource_group: linux-ci
|
||||||
variables:
|
variables:
|
||||||
RELEASE_NAME: mainline
|
RELEASE_NAME: mainline
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- ccache/
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p ccache
|
- mkdir -p ccache
|
||||||
- export CCACHE_BASEDIR=${PWD}
|
- export CCACHE_BASEDIR=${PWD}
|
||||||
|
|
Loading…
Reference in a new issue