python workflows in circleci

This commit is contained in:
Richard Guo 2023-06-09 11:03:15 -04:00
parent e9449190cd
commit dcd2bbae9d

View File

@ -161,9 +161,6 @@ jobs:
- checkout
- run:
name: Install dependencies
# TODO: eventually this will be cleaned up so we aren't building
# new dependencies each time unnecessarily.
# This will be introduced once we setup branch and path filtering
command: |
sudo apt-get update
sudo apt-get -y install python3 python3-pip
@ -337,25 +334,34 @@ workflows:
branches:
only:
- main
# build-py-deploy:
# jobs:
# - build-py-linux:
# filters:
# branches:
# only:
# - build-py-macos:
# filters:
# branches:
# only:
# - build-py-windows:
# filters:
# branches:
# only:
# - store-and-upload-wheels:
# filters:
# branches:
# only:
# requires:
# - build-py-windows
# - build-py-linux
# - build-py-macos
build-py-deploy:
when: << pipeline.parameters.run-python-workflow >>
jobs:
- hold:
type: approval
- build-py-linux:
filters:
branches:
only:
- build-py-macos:
filters:
branches:
only:
requires:
- hold
- build-py-windows:
filters:
branches:
only:
requires:
- hold
- store-and-upload-wheels:
filters:
branches:
only:
- main
requires:
- hold
- build-py-windows
- build-py-linux
- build-py-macos