Skip to content

Commit 51b7fac

Browse files
committed
cache the right folder
1 parent 1c8cc22 commit 51b7fac

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/sanitisers.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
# --- Build dependencies
3737
- name: "Build dependencies to be shared by all sanitiser runs"
3838
run: inv dev.cmake -b Debug
39-
- name: "Upload built CMake dependencies"
39+
- name: "Upload built Conan dependencies"
4040
uses: actions/upload-artifact@v2
4141
with:
42-
name: cmake-cache
43-
path: /build/faabric
42+
name: conan-cache
43+
path: '~/.conan'
4444

4545
address-sanitiser:
4646
if: github.event.pull_request.draft == false
@@ -68,11 +68,11 @@ jobs:
6868
- name: "Ping redis"
6969
run: redis-cli -h redis ping
7070
# --- Build with thread sanitising
71-
- name: "Download CMake dependencies"
71+
- name: "Download Conan dependencies"
7272
uses: actions/download-artifact@v2
7373
with:
74-
name: cmake-cache
75-
path: /build/faabric
74+
name: conan-cache
75+
path: /root/.conan
7676
- name: "Build tests with address sanitising"
7777
run: inv dev.sanitise Address --noclean
7878
- name: "Run tests with address sanitising on and print to stderr to file"
@@ -107,11 +107,11 @@ jobs:
107107
- name: "Ping redis"
108108
run: redis-cli -h redis ping
109109
# --- Build with thread sanitising
110-
- name: "Download CMake dependencies"
110+
- name: "Download Conan dependencies"
111111
uses: actions/download-artifact@v2
112112
with:
113-
name: cmake-cache
114-
path: /build/faabric
113+
name: conan-cache
114+
path: /root/.conan
115115
- name: "Build tests with thread sanitising"
116116
run: inv dev.sanitise Thread --noclean
117117
# --- Tests ---
@@ -147,11 +147,11 @@ jobs:
147147
- name: "Ping redis"
148148
run: redis-cli -h redis ping
149149
# --- Build with thread sanitising
150-
- name: "Download CMake dependencies"
150+
- name: "Download Conan dependencies"
151151
uses: actions/download-artifact@v2
152152
with:
153-
name: cmake-cache
154-
path: /build/faabric
153+
name: conan-cache
154+
path: /root/.conan
155155
- name: "Build tests with undefined sanitising"
156156
run: inv dev.sanitise Undefined --noclean
157157
# --- Tests ---
@@ -187,11 +187,11 @@ jobs:
187187
- name: "Ping redis"
188188
run: redis-cli -h redis ping
189189
# --- Build with thread sanitising
190-
- name: "Download CMake dependencies"
190+
- name: "Download Conan dependencies"
191191
uses: actions/download-artifact@v2
192192
with:
193-
name: cmake-cache
194-
path: /build/faabric
193+
name: conan-cache
194+
path: /root/.conan
195195
- name: "Build tests with leak sanitising"
196196
run: inv dev.sanitise Leak --noclean
197197
# --- Tests ---

0 commit comments

Comments
 (0)