mirror of https://github.com/PCSX2/pcsx2.git
GHActions:Linux: Make ccache config global
New testing step was missing the config
This commit is contained in:
parent
756e3b4a12
commit
c93692a779
|
@ -104,6 +104,13 @@ jobs:
|
|||
# Set some sort of timeout in the event of run-away builds. We are limited on concurrent jobs so, get rid of them.
|
||||
timeout-minutes: 30
|
||||
|
||||
env:
|
||||
CCACHE_BASEDIR: ${{ github.workspace }}
|
||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||
CCACHE_COMPRESS: true
|
||||
CCACHE_COMPRESSLEVEL: 9
|
||||
CCACHE_MAXSIZE: 100M
|
||||
|
||||
steps:
|
||||
# NOTE - useful for debugging
|
||||
# - name: Dump GitHub context
|
||||
|
|
|
@ -6,12 +6,6 @@ if [ -n "${GITHUB_ACTIONS}" ]; then
|
|||
echo "Warning: Running this script outside of GitHub Actions isn't recommended."
|
||||
fi
|
||||
|
||||
export CCACHE_BASEDIR=${GITHUB_WORKSPACE}
|
||||
export CCACHE_DIR=${GITHUB_WORKSPACE}/.ccache
|
||||
export CCACHE_COMPRESS="true"
|
||||
export CCACHE_COMPRESSLEVEL="6"
|
||||
export CCACHE_MAXSIZE="400M"
|
||||
|
||||
# Prepare the Cache
|
||||
ccache -p
|
||||
ccache -z
|
||||
|
|
Loading…
Reference in New Issue