Update CI file to use ccache
This commit is contained in:
parent
bd5bdbe6c7
commit
0ca3f53904
1 changed files with 8 additions and 0 deletions
|
@ -11,12 +11,20 @@ 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
|
||||||
|
before_script:
|
||||||
|
- mkdir -p ccache
|
||||||
|
- export CCACHE_BASEDIR=${PWD}
|
||||||
|
- export CCACHE_DIR=${PWD}/ccache
|
||||||
script:
|
script:
|
||||||
- git submodule update --init --depth 1 --recursive
|
- git submodule update --init --depth 1 --recursive
|
||||||
- bash .ci/scripts/linux/docker.sh
|
- bash .ci/scripts/linux/docker.sh
|
||||||
|
|
Loading…
Reference in a new issue