Skip to content

Commit 6ee85f6

Browse files
authored
Reduce llvm cache for Unix systems (#229)
1 parent f93e7b6 commit 6ee85f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ jobs:
336336
../llvm
337337
cmake --build . --target clang clang-repl lld --parallel ${{ env.ncpus }}
338338
fi
339-
cd ../../
339+
cd ../
340+
rm -rf $(find . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
341+
cd ../
340342
341343
- name: Build LLVM/Cling on Windows systems if the cache is invalid
342344
if: ${{ runner.os == 'windows' && steps.cache.outputs.cache-hit != 'true' }}

0 commit comments

Comments
 (0)