mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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:
|
# Parameters:
|
||||||
# CONFIG: The name of the configuration file to use
|
# CONFIG: The name of the configuration file to use
|
||||||
|
# ARCH: The cerbero <distro>_<cpu> (used in cache key)
|
||||||
#
|
#
|
||||||
# Produces runtime and devel tarball packages.
|
# Produces runtime and devel tarball packages.
|
||||||
.cerbero:
|
.cerbero:
|
||||||
|
@ -153,6 +154,7 @@ build android arm64 api28:
|
||||||
- $CERBERO package --offline -t -o ${CI_PROJECT_DIR} gstreamer-1.0
|
- $CERBERO package --offline -t -o ${CI_PROJECT_DIR} gstreamer-1.0
|
||||||
- ccache -s
|
- ccache -s
|
||||||
cache:
|
cache:
|
||||||
|
key: "cerbero_${ARCH}"
|
||||||
paths:
|
paths:
|
||||||
- "${CCACHE_DIR}"
|
- "${CCACHE_DIR}"
|
||||||
- "${CERBERO_SOURCES}"
|
- "${CERBERO_SOURCES}"
|
||||||
|
@ -213,6 +215,7 @@ build android arm64 api28:
|
||||||
extends: '.cerbero'
|
extends: '.cerbero'
|
||||||
variables:
|
variables:
|
||||||
CONFIG: "linux.config"
|
CONFIG: "linux.config"
|
||||||
|
ARCH: "linux_x86_64"
|
||||||
|
|
||||||
# FIXME uncomment and set the SHA when docker is ready
|
# FIXME uncomment and set the SHA when docker is ready
|
||||||
# This indirection allow overriding the image without passing again CONFIG and ARCH
|
# This indirection allow overriding the image without passing again CONFIG and ARCH
|
||||||
|
|
Loading…
Reference in a new issue