mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 09:54:54 -05:00
Based on OBS plugin template build scripts with some minor adjustments: * Adjust format check scripts to exclude ./deps folder * Adjust release scripts to only draft releases * Always build installers * Always upload build artefacts * Build opencv for Mac and Windows releases
15 lines
396 B
Plaintext
Executable File
15 lines
396 B
Plaintext
Executable File
autoload -Uz log_debug log_warning
|
|
|
|
if (( ${+commands[ccache]} )) {
|
|
log_debug "Found ccache at ${commands[ccache]}"
|
|
|
|
if (( ${+CI} )) {
|
|
ccache --set-config=cache_dir="${GITHUB_WORKSPACE:-${HOME}}/.ccache"
|
|
ccache --set-config=max_size="${CCACHE_SIZE:-500M}"
|
|
ccache --set-config=compression=true
|
|
ccache -z > /dev/null
|
|
}
|
|
} else {
|
|
log_warning "No ccache found on the system"
|
|
}
|