Skip to content

Commit

Permalink
gha: use ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Sep 30, 2024
1 parent 47eeda5 commit dafaab5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
run: |
sudo apt update
sudo apt install --no-install-recommends -y \
ccache \
libnuma-dev libdnnl-dev opencl-dev
- name: Set up Python ${{ matrix.pyv }}
Expand Down Expand Up @@ -85,6 +86,13 @@ jobs:
path: .nox/tests-${{ matrix.pyv }}
key: ${{ runner.os }}-tests-${{ matrix.pyv }}-${{ matrix.vllm_version }}-${{ hashFiles('noxfile.py') }}

- name: Cache ccache cache directory
id: cache-ccache
uses: actions/cache@v4
with:
path: /home/runner/.cache/ccache
key: ${{ runner.os }}

- name: Run tests
run: nox --reuse-venv=yes -v -s tests-${{ matrix.pyv }} -- --cov-report=xml
env:
Expand Down

0 comments on commit dafaab5

Please sign in to comment.