1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-12-06 12:52:09 -06:00

Update CI file to use ccache

This commit is contained in:
niansa
2024-03-09 02:38:33 +00:00
parent bd5bdbe6c7
commit 0ca3f53904

View File

@@ -11,12 +11,20 @@ clang-format:
- git submodule update --init --depth 1 --recursive
- bash .ci/scripts/format/script.sh
cache:
paths:
- ccache/
build-linux:
stage: build
image: suyuemu/cibuild:linux-x64
resource_group: linux-ci
variables:
RELEASE_NAME: mainline
before_script:
- mkdir -p ccache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script:
- git submodule update --init --depth 1 --recursive
- bash .ci/scripts/linux/docker.sh