Skip to content

Commit

Permalink
Merge pull request #45 from 1480c1/ccache
Browse files Browse the repository at this point in the history
Actions: Add caching for ccache files
  • Loading branch information
dnewman-gpsw authored Apr 28, 2020
2 parents b30c627 + a465c0b commit f70ef48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cineform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
$CC --version
ccache --version
- uses: actions/checkout@v2
- name: Cache ccache files
uses: actions/cache@v1.1.2
with:
path: ~/.ccache
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('**/*.c') }}-${{ hashFiles('**/*.cpp') }}
- name: Run CMake
run: |
[ -d "$HOME/.ccache" ] && sudo chown -R "$USER": "$HOME/.ccache"
Expand Down

0 comments on commit f70ef48

Please sign in to comment.