pcsx2/.github/workflows/scripts/linux/compile.sh

18 lines
293 B
Bash
Raw Normal View History

2020-10-17 00:09:15 +00:00
#!/bin/bash
set -e
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
# Build
make -j4 install
# Save the Cache
ccache -s