Skip to content

Commit b598dbb

Browse files
committed
Reduce llvm cache for Unix systems
1 parent 8dd6b87 commit b598dbb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ jobs:
365365
../llvm
366366
cmake --build . --target clang clang-repl lld --parallel ${{ env.ncpus }}
367367
fi
368-
cd ../../
368+
cd ../
369+
rm -rf $(find . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
370+
cd ../
369371
370372
- name: Build LLVM/Cling on Windows systems if the cache is invalid
371373
if: ${{ runner.os == 'windows' && steps.cache.outputs.cache-hit != 'true' }}

0 commit comments

Comments
 (0)