gitlab-ci: Use host-mapped directory for ccache
Same as done in Mesa. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
4226c6d032
commit
9107a610de
@ -53,20 +53,16 @@ debian-testing:
|
|||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
- build/test/piglit-results/
|
- build/test/piglit-results/
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- ccache/
|
|
||||||
variables:
|
variables:
|
||||||
|
CCACHE_COMPILERCHECK: content
|
||||||
|
CCACHE_DIR: /cache/xserver/cache
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
before_script:
|
before_script:
|
||||||
- export CCACHE_BASEDIR="$PWD"
|
- export CCACHE_BASEDIR="$PWD"
|
||||||
- export CCACHE_DIR="$PWD/ccache"
|
|
||||||
- export CCACHE_COMPILERCHECK=content
|
|
||||||
- export PATH="/usr/lib/ccache:$PATH"
|
- export PATH="/usr/lib/ccache:$PATH"
|
||||||
- ccache --zero-stats
|
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
after_script:
|
after_script:
|
||||||
- CCACHE_DIR="$PWD/ccache" ccache --show-stats
|
- ccache --show-stats
|
||||||
|
|
||||||
autotools-build-and-test:
|
autotools-build-and-test:
|
||||||
extends: .common-build-and-test
|
extends: .common-build-and-test
|
||||||
|
Loading…
Reference in New Issue
Block a user