[Test] Add check ccache size

This commit is contained in:
tangxifan 2020-11-24 15:20:38 -07:00
parent 955e49dca1
commit 27e68f1ea2
1 changed files with 6 additions and 2 deletions

View File

@ -144,7 +144,11 @@ jobs:
working-directory: ${{runner.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
# Check the cache size and see if it is over the limit
run: |
cmake --build . --config $BUILD_TYPE
ccache -s
# Check the cache size and see if it is over the limit
- name: Check ccache size
shell: cmake -P {0}
run: |
execute_process(COMMAND ccache -s)