Commit 47f80110 authored by Stefan Behnel's avatar Stefan Behnel

Reconfigure ccache and add the backend (C/C++) to the cache key to distinguish...

Reconfigure ccache and add the backend (C/C++) to the cache key to distinguish between the compiler jobs.
parent 692b97a3
......@@ -123,7 +123,7 @@ jobs:
USE_CCACHE: 1
CCACHE_SLOPPINESS: "pch_defines,time_macros"
CCACHE_COMPRESS: 1
CCACHE_MAXSIZE: "250M"
CCACHE_MAXSIZE: "200M"
steps:
- name: Checkout repo
......@@ -141,7 +141,7 @@ jobs:
if: startsWith(runner.os, 'Linux')
with:
path: ~/.ccache
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ hashFiles('**/test-requirements*.txt', '**/ci.yml', '**/ci-run.sh') }}
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ env.BACKEND }}-${{ hashFiles('**/test-requirements*.txt', '**/ci.yml', '**/ci-run.sh') }}
- name: Run CI
continue-on-error: ${{ matrix.allowed_failure || false }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment