Skip to content

Commit 315ec75

Browse files
committed
enable ccache
1 parent 6f60c43 commit 315ec75

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
runs-on: ${{matrix.runs-on}}
3030
steps:
3131
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
32+
- name: ccache
33+
uses: hendrikmuhs/[email protected]
34+
with:
35+
key: ${{github.job}}-${{matrix.os}}
3236
- name: Prepare
3337
run: cmake -B build
3438
- name: Build

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
runs-on: ${{matrix.runs-on}}
3131
steps:
3232
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
33+
- name: ccache
34+
uses: hendrikmuhs/[email protected]
35+
with:
36+
key: ${{github.job}}-${{matrix.os}}-{{matrix.shared}}
3337
- name: Setup Ninja
3438
run: sudo apt-get install ninja-build
3539
- name: Prepare

.github/workflows/visual-studio.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- {gen: Visual Studio 17 2022, arch: x64, config: Debug}
3232
steps:
3333
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
34+
- name: ccache
35+
uses: hendrikmuhs/[email protected]
36+
with:
37+
key: ${{github.job}}-${{matrix.os}}-${{matrix.config}}
3438
- name: Install Dependencies
3539
run: |
3640
choco install nasm

0 commit comments

Comments
 (0)