|
|
|
@ -46,15 +46,15 @@ jobs:
@@ -46,15 +46,15 @@ jobs:
|
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
with: |
|
|
|
|
path: ~/.ccache |
|
|
|
|
key: tests_${{matrix.ubuntu_release}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} |
|
|
|
|
restore-keys: tests_${{matrix.ubuntu_release}}-ccache- |
|
|
|
|
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} |
|
|
|
|
restore-keys: ${{matrix.config}}-ccache- |
|
|
|
|
- name: setup ccache |
|
|
|
|
run: | |
|
|
|
|
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 = 100M" >> ~/.ccache/ccache.conf |
|
|
|
|
echo "max_size = 20M" >> ~/.ccache/ccache.conf |
|
|
|
|
ccache -s |
|
|
|
|
ccache -z |
|
|
|
|
- name: check environment |
|
|
|
|