GitLab CI: Try to get ccache working for RPM builds.

This commit is contained in:
Gerald Combs 2022-10-20 17:50:59 -07:00
parent 1321de7dc3
commit 31ee273517
1 changed files with 3 additions and 1 deletions

View File

@ -146,8 +146,10 @@ variables:
- mkdir -p ccache
- ccache --show-stats
# Not yet supported by openSUSE
# - ccache --set-config absolute_paths_in_stderr=true
- ccache --set-config absolute_paths_in_stderr=true || true
- ccache --set-config hash_dir=false
- ccache --set-config base_dir="$CI_PROJECT_DIR/build/packaging/rpm/BUILD/$BUILD_DIR"
- cat "$CCACHE_DIR/ccache.conf"
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
- mkdir build