mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Build: Fix Android/macOS ccache.
This commit is contained in:
1 parent
e7eddab2a1
commit
d3e99fa308
1 file changed
+12
@@ -238,8 +238,20 @@ jobs:
|
||||
CXX: ${{ matrix.cxx }}
|
||||
NDK: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
NDK_CCACHE: ccache
|
||||
USE_CCACHE: 1
|
||||
run: |
|
||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||
export CCACHE_SLOPPINESS=clang_index_store,ivfsoverlay,include_file_ctime,include_file_mtime,modules,system_headers,time_macros
|
||||
if [ "${{ matrix.extra }}" == "android" ]; then
|
||||
export CCACHE_FILECLONE=true
|
||||
export CCACHE_DEPEND=true
|
||||
export CCACHE_COMPILERCHECK=content
|
||||
elif [ "$RUNNER_OS" == "macOS" ]; then
|
||||
export CCACHE_SLOPPINESS=pch_defines,$CCACHE_SLOPPINESS
|
||||
export CCACHE_FILECLONE=true
|
||||
export CCACHE_DEPEND=true
|
||||
export CCACHE_COMPILERCHECK=content
|
||||
fi
|
||||
${{ matrix.args }}
|
||||
|
||||
- name: Package build
|
||||
|
||||
Reference in new issue
Block a user