mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Print ccache stats for macOS builds
This commit is contained in:
parent
539b46aaf0
commit
663ad5e192
1 changed files with 6 additions and 0 deletions
|
@ -131,10 +131,12 @@ Debian_Clang_tests:
|
||||||
- export CCACHE_BASEDIR="$(pwd)"
|
- export CCACHE_BASEDIR="$(pwd)"
|
||||||
- export CCACHE_DIR="$(pwd)/ccache"
|
- export CCACHE_DIR="$(pwd)/ccache"
|
||||||
- mkdir -pv "${CCACHE_DIR}"
|
- mkdir -pv "${CCACHE_DIR}"
|
||||||
|
- ccache -z -M "${CCACHE_SIZE}"
|
||||||
- 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
|
||||||
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.dmg"; done
|
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.dmg"; done
|
||||||
|
- ccache -s
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/OpenMW-*.dmg
|
- build/OpenMW-*.dmg
|
||||||
|
@ -145,12 +147,16 @@ macOS11_Xcode12:
|
||||||
image: macos-11-xcode-12
|
image: macos-11-xcode-12
|
||||||
cache:
|
cache:
|
||||||
key: macOS11_Xcode12.v1
|
key: macOS11_Xcode12.v1
|
||||||
|
variables:
|
||||||
|
CCACHE_SIZE: 3G
|
||||||
|
|
||||||
macOS10.15_Xcode11:
|
macOS10.15_Xcode11:
|
||||||
extends: .MacOS
|
extends: .MacOS
|
||||||
image: macos-10.15-xcode-11
|
image: macos-10.15-xcode-11
|
||||||
cache:
|
cache:
|
||||||
key: macOS10.15_Xcode11.v1
|
key: macOS10.15_Xcode11.v1
|
||||||
|
variables:
|
||||||
|
CCACHE_SIZE: 3G
|
||||||
|
|
||||||
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