Skip to content

Commit

Permalink
ci: use ccache better
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Sep 17, 2024
1 parent 6553acf commit 1ad1c6a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ jobs:
CXXFLAGS: "-fdiagnostics-color"
steps:
- uses: actions/checkout@v3
- name: "Restore cache . . ."
uses: actions/cache@v3
- name: "Setup ccache . . ."
uses: Chocobo1/setup-ccache-action@v1
with:
path: /home/runner/.ccache
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules
update_packager_index: false
install_ccache: true
- name: "Install dependencies . . ."
run: |
sudo apt-get --yes update
Expand Down

0 comments on commit 1ad1c6a

Please sign in to comment.