test: clean the llvm cache before installing llvm 15.0.2

This commit is contained in:
Amin Yahyaabadi 2022-10-15 02:02:49 -07:00
parent f4e3f220db
commit 7903317d7d
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ describe("setup-llvm", () => {
it("should setup LLVM 15.0.2", async () => { it("should setup LLVM 15.0.2", async () => {
await cleanupTmpDir("llvm") await cleanupTmpDir("llvm")
await cleanupTmpDir("/Users/runner/hostedtoolcache/llvm")
const { binDir } = await setupLLVM("15.0.2", directory, process.arch) const { binDir } = await setupLLVM("15.0.2", directory, process.arch)
await testBin("clang++", ["--version"], binDir) await testBin("clang++", ["--version"], binDir)