Skip to content

Commit 785933e

Browse files
authored
CI: Clean build directory on the library builder before persisting the workspace (#23906)
The Ninja build of the libraries leaves behind all of the object files when building the archives. This is nice for developers if you're working on the libraries themselves but for CI, we are just bloating the persisted workspace and not using the object files. So rather than automatically clearing in embuilder or system_libs.py after the build, do it on CI.
1 parent f6c8272 commit 785933e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ jobs:
495495
- install-v8
496496
- install-emsdk
497497
- build-libs
498+
- run:
499+
name: Clean build directory
500+
command: rm -rf ~/cache/build
498501
- persist
499502
# Perhaps we don't need to run this suite with every commit. Consider moving this to FYI bot.
500503
test-posixtest:

0 commit comments

Comments
 (0)