ardupilot/.github/workflows/ccache.env
2023-02-14 16:25:54 +09:00

13 lines
392 B
Bash

# common ccache env vars for CI
export CCACHE_SLOPPINESS=file_stat_matches
git config --global --add safe.directory ${GITHUB_WORKSPACE}
mkdir -p ~/.ccache
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
echo "compression = true" >> ~/.ccache/ccache.conf
echo "compression_level = 6" >> ~/.ccache/ccache.conf
echo "max_size = 400M" >> ~/.ccache/ccache.conf
ccache -s
ccache -z