Commit 4e5d690d authored by Nikolaus Demmel's avatar Nikolaus Demmel

ci: use CI_JOB_NAME as cache key

parent b14576b8
Pipeline #58272316 passed with stage
in 3 minutes and 21 seconds
......@@ -15,7 +15,7 @@ variables:
cache:
paths:
- ccache/
key: ${CACHE_KEY}
key: ${CI_JOB_NAME}
# template for secondary build & unit test configurations
.compile_and_test_template: &compile_and_test_definition
......@@ -31,8 +31,6 @@ variables:
bionic-release-compile:
<<: *prepare_docker_definition
stage: build
variables:
CACHE_KEY: bionic-release
script:
- mkdir build
- cd build
......@@ -58,21 +56,17 @@ bionic-debug-compile:
<<: *compile_and_test_definition
variables:
BUILD_TYPE: Debug
CACHE_KEY: bionic-debug
bionic-relwithdebinfo-compile:
<<: *prepare_docker_definition
<<: *compile_and_test_definition
variables:
BUILD_TYPE: RelWithDebInfo
CACHE_KEY: bionic-relwithdebinfo
xenial-release-compile:
<<: *prepare_docker_definition
<<: *compile_and_test_definition
image: vladyslavusenko/b_image_xenial:latest
variables:
CACHE_KEY: xenial-release
elcapitan-relwithdebinfo-compile:
<<: *compile_and_test_definition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment