From 0eaa29b3f39c28c73ceaeea20da973654f764f7c Mon Sep 17 00:00:00 2001 From: Dexter Chua Date: Tue, 5 Jan 2021 16:47:28 +0800 Subject: [PATCH] Clean up workspace after core-python build (#1045) Persisting fewer artifacts between jobs should give a slightly faster build. This also guarantees that all we need to build packages are emsdk and cpython/installs, which is useful for third party packages building. --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 25818a45b..d7b2cfeac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,6 +82,12 @@ jobs: - ~/.ccache key: -{{ checksum "Makefile.envs" }}-v20201205-{{ .BuildNum }} + - run: + name: Clean up workspace + command: | + rm -rf cpython/{build,downloads} + rm -rf emsdk/emsdk/binaryen + - persist_to_workspace: root: . paths: