Skip to content

Commit 4ecd50b

Browse files
committed
Fix CI Ccache path
1 parent f23ff17 commit 4ecd50b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/continuous.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,15 @@ jobs:
4040
- name: Dependencies (Linux)
4141
if: runner.os == 'Linux'
4242
run: |
43-
sudo apt-get update &&
44-
sudo apt-get install \
45-
xorg-dev \
46-
libsuitesparse-dev \
47-
libblas-dev \
48-
libglu1-mesa-dev \
49-
liblapack-dev \
50-
ccache
43+
sudo apt-get update
44+
sudo apt-get install xorg-dev libsuitesparse-dev libblas-dev libglu1-mesa-dev liblapack-dev ccache
45+
echo 'CACHE_PATH=~/.cache/ccache' >> "$GITHUB_ENV"
5146
5247
- name: Dependencies (macOS)
5348
if: runner.os == 'macOS'
54-
run: brew install suite-sparse ccache
49+
run: |
50+
brew install suite-sparse ccache
51+
echo 'CACHE_PATH=~/Library/Caches/ccache' >> "$GITHUB_ENV"
5552
5653
- name: Cache Build
5754
id: cache-build

0 commit comments

Comments
 (0)