ardupilot/.github/workflows/ccache.env

13 lines
392 B
Bash
Raw Permalink Normal View History

# common ccache env vars for CI
export CCACHE_SLOPPINESS=file_stat_matches
2023-02-08 20:43:34 -04:00
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