From 0bc5a828e43ca547f92d3013e81857680018d7e6 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 7 Dec 2021 04:24:31 -0800 Subject: [PATCH] MAINT Store zipped build folder as circleci artifact (#2009) --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d7d9e8dc3..8aae91f42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -97,6 +97,11 @@ jobs: rm -rf cpython/{build,downloads} rm -rf emsdk/emsdk/binaryen + - run: + name: Zip build directory + command: | + tar cjf pyodide-build.tar.gz build + - persist_to_workspace: root: . paths: @@ -105,6 +110,12 @@ jobs: - store_artifacts: path: /root/repo/build/ + - store_artifacts: + path: /root/repo/pyodide-build.tar.gz + + - store_artifacts: + path: /root/repo/packages/build-logs + build-packages-no-numpy-dependents: <<: *defaults resource_class: large @@ -149,9 +160,22 @@ jobs: - ./packages - ./build + - run: + name: Zip build directory + command: | + tar cjf pyodide-build.tar.gz build + + - persist_to_workspace: + root: . + paths: + - . + - store_artifacts: path: /root/repo/build/ + - store_artifacts: + path: /root/repo/pyodide-build.tar.gz + - store_artifacts: path: /root/repo/packages/build-logs @@ -193,6 +217,11 @@ jobs: - /root/.ccache key: -pkg-{{ checksum "Makefile.envs" }}-v20210911- + - run: + name: Zip build directory + command: | + tar cjf pyodide-build.tar.gz build + - persist_to_workspace: root: . paths: @@ -202,6 +231,9 @@ jobs: - store_artifacts: path: /root/repo/build/ + - store_artifacts: + path: /root/repo/pyodide-build.tar.gz + - store_artifacts: path: /root/repo/packages/build-logs