@@ -166,7 +166,7 @@ jobs:
166166 os : macos-15
167167 arch : x86_64
168168 action : test
169- flags : --config=hermetic-llvm-macos
169+ flags : --config=hermetic-llvm
170170 cache : true
171171 - name : ' WAMR interp on Linux/x86_64'
172172 engine : ' wamr-interp'
@@ -181,7 +181,7 @@ jobs:
181181 os : macos-15
182182 arch : x86_64
183183 action : test
184- flags : --config=hermetic-llvm-macos
184+ flags : --config=hermetic-llvm
185185 - name : ' WAMR jit on Linux/x86_64'
186186 engine : ' wamr-jit'
187187 repo : ' com_github_bytecodealliance_wasm_micro_runtime'
@@ -198,7 +198,7 @@ jobs:
198198 arch : x86_64
199199 action : test
200200 cache : true
201- flags : --config=hermetic-llvm-macos
201+ flags : --config=hermetic-llvm
202202 - name : ' WasmEdge on Linux/x86_64'
203203 engine : ' wasmedge'
204204 repo : ' com_github_wasmedge_wasmedge'
@@ -212,7 +212,7 @@ jobs:
212212 os : macos-15
213213 arch : x86_64
214214 action : test
215- flags : --config=hermetic-llvm-macos
215+ flags : --config=hermetic-llvm
216216 - name : ' Wasmtime on Linux/x86_64'
217217 engine : ' wasmtime'
218218 repo : ' com_github_bytecodealliance_wasmtime'
@@ -250,11 +250,16 @@ jobs:
250250 os : macos-15
251251 arch : x86_64
252252 action : test
253- flags : --config=hermetic-llvm-macos
253+ flags : --config=hermetic-llvm
254254
255255 steps :
256256 - uses : actions/checkout@v2
257257
258+ - name : Compute job hash
259+ id : job-hash
260+ run : echo "hash=$(echo -n '${{ matrix.name }}' | sha1sum | cut -c1-7)" >> $GITHUB_OUTPUT
261+ shell : bash
262+
258263 - name : Install dependencies (Linux)
259264 if : ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
260265 run : sudo apt update -y && sudo apt install -y ${{ matrix.deps }}
@@ -275,7 +280,7 @@ jobs:
275280 -
uses :
bazel-contrib/[email protected] 276281 with :
277282 bazelisk-cache : true
278- disk-cache : ${{ github.job }}-${{ matrix.name }}
283+ disk-cache : ${{ github.job }}-${{ steps.job-hash.outputs.hash }}
279284 repository-cache : true
280285
281286 - name : Download test data
0 commit comments