Skip to content

Commit

Permalink
set CCACHE_DIR env
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-edward committed Dec 31, 2024
1 parent 3e956ff commit 1fcdc37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: test
env:
CC: "ccache clang"
CXX: "ccache clang++"
CCACHE_DIR: "~/.ccache"
DOWNLOAD_CACHE_VERSION: 8

on:
Expand Down Expand Up @@ -54,6 +55,9 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Create cache dir
run: mkdir ~/.ccache

- name: Cache build artifacts
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 1fcdc37

Please sign in to comment.