mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-03 10:20:10 +00:00
Merge branch 'fix-ccache' into 'master'
Increase CCache size for Debian where needed See merge request OpenMW/openmw!334
This commit is contained in:
commit
ea669cc115
@ -18,7 +18,7 @@ stages:
|
|||||||
script:
|
script:
|
||||||
- export CCACHE_BASEDIR="`pwd`"
|
- export CCACHE_BASEDIR="`pwd`"
|
||||||
- export CCACHE_DIR="`pwd`/ccache" && mkdir -pv "$CCACHE_DIR"
|
- export CCACHE_DIR="`pwd`/ccache" && mkdir -pv "$CCACHE_DIR"
|
||||||
- ccache -z -M 1G
|
- ccache -z -M "${CCACHE_SIZE}"
|
||||||
- CI/before_script.linux.sh
|
- CI/before_script.linux.sh
|
||||||
- cd build
|
- cd build
|
||||||
- cmake --build . -- -j $(nproc)
|
- cmake --build . -- -j $(nproc)
|
||||||
@ -36,6 +36,7 @@ Debian_GCC:
|
|||||||
variables:
|
variables:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
|
CCACHE_SIZE: 3G
|
||||||
|
|
||||||
Debian_GCC_tests:
|
Debian_GCC_tests:
|
||||||
extends: .Debian
|
extends: .Debian
|
||||||
@ -44,6 +45,7 @@ Debian_GCC_tests:
|
|||||||
variables:
|
variables:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
|
CCACHE_SIZE: 1G
|
||||||
BUILD_TESTS_ONLY: 1
|
BUILD_TESTS_ONLY: 1
|
||||||
|
|
||||||
Debian_Clang:
|
Debian_Clang:
|
||||||
@ -53,6 +55,7 @@ Debian_Clang:
|
|||||||
variables:
|
variables:
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
|
CCACHE_SIZE: 2G
|
||||||
|
|
||||||
Debian_Clang_tests:
|
Debian_Clang_tests:
|
||||||
extends: .Debian
|
extends: .Debian
|
||||||
@ -61,6 +64,7 @@ Debian_Clang_tests:
|
|||||||
variables:
|
variables:
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
|
CCACHE_SIZE: 1G
|
||||||
BUILD_TESTS_ONLY: 1
|
BUILD_TESTS_ONLY: 1
|
||||||
|
|
||||||
MacOS:
|
MacOS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user