mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-06 12:41:31 +00:00
Use different cache keys for different macOS builds
This commit is contained in:
parent
457cbd6160
commit
539b46aaf0
1 changed files with 16 additions and 2 deletions
|
@ -115,7 +115,7 @@ Debian_Clang_tests:
|
||||||
CCACHE_SIZE: 1G
|
CCACHE_SIZE: 1G
|
||||||
BUILD_TESTS_ONLY: 1
|
BUILD_TESTS_ONLY: 1
|
||||||
|
|
||||||
MacOS:
|
.MacOS:
|
||||||
image: macos-11-xcode-12
|
image: macos-11-xcode-12
|
||||||
tags:
|
tags:
|
||||||
- macos
|
- macos
|
||||||
|
@ -123,8 +123,14 @@ MacOS:
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $CI_PROJECT_ID == "7107382"
|
- $CI_PROJECT_ID == "7107382"
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- ccache/
|
||||||
script:
|
script:
|
||||||
- rm -fr build/* # remove anything in the build directory
|
- rm -fr build/* # remove anything in the build directory
|
||||||
|
- export CCACHE_BASEDIR="$(pwd)"
|
||||||
|
- export CCACHE_DIR="$(pwd)/ccache"
|
||||||
|
- mkdir -pv "${CCACHE_DIR}"
|
||||||
- CI/before_install.osx.sh
|
- CI/before_install.osx.sh
|
||||||
- CI/before_script.osx.sh
|
- CI/before_script.osx.sh
|
||||||
- cd build; make -j $(sysctl -n hw.logicalcpu) package
|
- cd build; make -j $(sysctl -n hw.logicalcpu) package
|
||||||
|
@ -134,9 +140,17 @@ MacOS:
|
||||||
- build/OpenMW-*.dmg
|
- build/OpenMW-*.dmg
|
||||||
- "build/**/*.log"
|
- "build/**/*.log"
|
||||||
|
|
||||||
|
macOS11_Xcode12:
|
||||||
|
extends: .MacOS
|
||||||
|
image: macos-11-xcode-12
|
||||||
|
cache:
|
||||||
|
key: macOS11_Xcode12.v1
|
||||||
|
|
||||||
macOS10.15_Xcode11:
|
macOS10.15_Xcode11:
|
||||||
extends: MacOS
|
extends: .MacOS
|
||||||
image: macos-10.15-xcode-11
|
image: macos-10.15-xcode-11
|
||||||
|
cache:
|
||||||
|
key: macOS10.15_Xcode11.v1
|
||||||
|
|
||||||
variables: &engine-targets
|
variables: &engine-targets
|
||||||
targets: "openmw,openmw-essimporter,openmw-iniimporter,openmw-launcher,openmw-wizard"
|
targets: "openmw,openmw-essimporter,openmw-iniimporter,openmw-launcher,openmw-wizard"
|
||||||
|
|
Loading…
Reference in a new issue