1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 13:15:34 +00:00

Use separate caches for Debian builds

Different builds cache different states. Each time cache file is written it
erases the state created by a different type of build.
This commit is contained in:
elsid 2020-10-07 22:11:05 +02:00
parent ee22081ae1
commit 63a6541d0e
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -7,7 +7,6 @@ stages:
- linux - linux
image: debian:bullseye image: debian:bullseye
cache: cache:
key: cache.002
paths: paths:
- apt-cache/ - apt-cache/
- ccache/ - ccache/
@ -32,12 +31,16 @@ stages:
Debian_GCC: Debian_GCC:
extends: .Debian extends: .Debian
cache:
key: Debian_GCC.v1
variables: variables:
CC: gcc CC: gcc
CXX: g++ CXX: g++
Debian_GCC_tests: Debian_GCC_tests:
extends: .Debian extends: .Debian
cache:
key: Debian_GCC_tests.v1
variables: variables:
CC: gcc CC: gcc
CXX: g++ CXX: g++
@ -45,12 +48,16 @@ Debian_GCC_tests:
Debian_Clang: Debian_Clang:
extends: .Debian extends: .Debian
cache:
key: Debian_Clang.v1
variables: variables:
CC: clang CC: clang
CXX: clang++ CXX: clang++
Debian_Clang_tests: Debian_Clang_tests:
extends: .Debian extends: .Debian
cache:
key: Debian_Clang_tests.v1
variables: variables:
CC: clang CC: clang
CXX: clang++ CXX: clang++