Skip to content

Commit 172dd0a

Browse files
authored
[CI] Add ccache stats dump (#596)
1 parent 4dab77d commit 172dd0a

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/workflows/mac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
with:
4545
path: install
4646
name: ${{ matrix.build_type == 'Debug' && 'macos-clang-debug-install' || 'macos-clang-install' }}
47+
- name: Show ccache stats
48+
run: ccache --show-stats
4749
clang-test:
4850
needs:
4951
- clang-build

.github/workflows/ubuntu.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
name: ${{ matrix.build_type == 'Debug' &&
5454
format('ubuntu-gcc-debug-install-{0}', matrix.os) ||
5555
format('ubuntu-gcc-install-{0}', matrix.os) }}
56+
- name: Show ccache stats
57+
run: ccache --show-stats
5658
gcc-test:
5759
needs:
5860
- gcc-build
@@ -153,6 +155,8 @@ jobs:
153155
with:
154156
path: install
155157
name: ubuntu-clang-install-${{ matrix.os }}
158+
- name: Show ccache stats
159+
run: ccache --show-stats
156160
clang-test:
157161
needs:
158162
- clang-build
@@ -257,6 +261,8 @@ jobs:
257261
with:
258262
path: install
259263
name: ubuntu-clang-sanitizer-install-${{ matrix.os }}
264+
- name: Show ccache stats
265+
run: ccache --show-stats
260266
clang-sanitizer-test:
261267
needs:
262268
- clang-sanitizer-build
@@ -399,3 +405,5 @@ jobs:
399405
body: |
400406
Coverage report is available for download
401407
[here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
408+
- name: Show ccache stats
409+
run: ccache --show-stats

.github/workflows/windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
with:
3434
path: install
3535
name: ${{ matrix.build_type == 'Debug' && 'windows-msvc-debug-install' || 'windows-msvc-install' }}
36+
- name: Show ccache stats
37+
shell: bash
38+
run: ccache --show-stats
3639
msvc-test:
3740
needs:
3841
- msvc-build
@@ -117,6 +120,9 @@ jobs:
117120
with:
118121
path: install
119122
name: windows-clang-install
123+
- name: Show ccache stats
124+
shell: bash
125+
run: ccache --show-stats
120126
clang-test:
121127
needs:
122128
- clang-build

0 commit comments

Comments
 (0)