ardupilot/.github/workflows/ccache.env
Andrew Tridgell 54208574f0 CI: use common ccache environment
and enable CCACHE_SLOPPINESS=file_stat_matches
2022-03-02 18:29:00 +11:00

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