diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3cb9a07..977a52c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,7 +7,11 @@ on: workflow_dispatch: env: - CCACHE_BASEDIR: ${{ github.workspace }} + CCACHE_DIR: /ccache + CCACHE_MAXSIZE: 10G + CCACHE_BASEDIR: /root + CCACHE_NOHASHDIR: "true" + CCACHE_COMPILERCHECK: "%compiler% -dumpversion" jobs: build-and-test: @@ -15,6 +19,8 @@ jobs: timeout-minutes: 120 container: image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main + volumes: + - /ccache:/ccache strategy: matrix: build_type: ["Debug", "RelWithDebInfo", "Release"]