Skip to content
Snippets Groups Projects
Commit 0ca3f539 authored by niansa's avatar niansa
Browse files

Update CI file to use ccache

parent bd5bdbe6
No related branches found
No related tags found
No related merge requests found
...@@ -11,12 +11,20 @@ clang-format: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment