MAINT Store zipped build folder as circleci artifact (#2009)

This commit is contained in:
Hood Chatham 2021-12-07 04:24:31 -08:00 committed by GitHub
parent 418813de33
commit 0bc5a828e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -97,6 +97,11 @@ jobs:
rm -rf cpython/{build,downloads} rm -rf cpython/{build,downloads}
rm -rf emsdk/emsdk/binaryen rm -rf emsdk/emsdk/binaryen
- run:
name: Zip build directory
command: |
tar cjf pyodide-build.tar.gz build
- persist_to_workspace: - persist_to_workspace:
root: . root: .
paths: paths:
@ -105,6 +110,12 @@ jobs:
- store_artifacts: - store_artifacts:
path: /root/repo/build/ 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: build-packages-no-numpy-dependents:
<<: *defaults <<: *defaults
resource_class: large resource_class: large
@ -149,9 +160,22 @@ jobs:
- ./packages - ./packages
- ./build - ./build
- run:
name: Zip build directory
command: |
tar cjf pyodide-build.tar.gz build
- persist_to_workspace:
root: .
paths:
- .
- store_artifacts: - store_artifacts:
path: /root/repo/build/ path: /root/repo/build/
- store_artifacts:
path: /root/repo/pyodide-build.tar.gz
- store_artifacts: - store_artifacts:
path: /root/repo/packages/build-logs path: /root/repo/packages/build-logs
@ -193,6 +217,11 @@ jobs:
- /root/.ccache - /root/.ccache
key: -pkg-{{ checksum "Makefile.envs" }}-v20210911- key: -pkg-{{ checksum "Makefile.envs" }}-v20210911-
- run:
name: Zip build directory
command: |
tar cjf pyodide-build.tar.gz build
- persist_to_workspace: - persist_to_workspace:
root: . root: .
paths: paths:
@ -202,6 +231,9 @@ jobs:
- store_artifacts: - store_artifacts:
path: /root/repo/build/ path: /root/repo/build/
- store_artifacts:
path: /root/repo/pyodide-build.tar.gz
- store_artifacts: - store_artifacts:
path: /root/repo/packages/build-logs path: /root/repo/packages/build-logs