CI: add ccache config to test_size

This commit is contained in:
Pierre Kancir 2022-12-09 12:48:00 +01:00 committed by Peter Barker
parent aa0afcd037
commit 14889ed789
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ jobs:
path: ~/.ccache
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
restore-keys: ${{github.workflow}}-ccache-${{ matrix.toolchain }}- # restore ccache from either previous build on this branch or on base branch
- name: setup ccache
run: |
. base_branch/.github/workflows/ccache.env
- name: Build ${{ github.event.pull_request.base.ref }} ${{matrix.config}} ${{ matrix.toolchain }}
env:
CI_BUILD_TARGET: ${{matrix.config}}