ardupilot/.github/workflows/ccache.env

11 lines
330 B
Bash

# common ccache env vars for CI
export CCACHE_SLOPPINESS=file_stat_matches
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