mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
gitlab: Use cache key for cerbero builds
The key is set to cerbero_${ARCH}. This should help maintain a smaller cache size and will avoid other jobs from overriding our cerbero-sources cache.
This commit is contained in:
parent
e2595530ad
commit
fcbfb3dc68
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,7 @@ build android arm64 api28:
|
|||
#
|
||||
# Parameters:
|
||||
# CONFIG: The name of the configuration file to use
|
||||
# ARCH: The cerbero <distro>_<cpu> (used in cache key)
|
||||
#
|
||||
# Produces runtime and devel tarball packages.
|
||||
.cerbero:
|
||||
|
@ -153,6 +154,7 @@ build android arm64 api28:
|
|||
- $CERBERO package --offline -t -o ${CI_PROJECT_DIR} gstreamer-1.0
|
||||
- ccache -s
|
||||
cache:
|
||||
key: "cerbero_${ARCH}"
|
||||
paths:
|
||||
- "${CCACHE_DIR}"
|
||||
- "${CERBERO_SOURCES}"
|
||||
|
@ -213,6 +215,7 @@ build android arm64 api28:
|
|||
extends: '.cerbero'
|
||||
variables:
|
||||
CONFIG: "linux.config"
|
||||
ARCH: "linux_x86_64"
|
||||
|
||||
# FIXME uncomment and set the SHA when docker is ready
|
||||
# This indirection allow overriding the image without passing again CONFIG and ARCH
|
||||
|
|
Loading…
Reference in a new issue