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 - checkout
- run: - run:
name: Install dependencies 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: | command: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install python3 python3-pip sudo apt-get -y install python3 python3-pip
@ -337,25 +334,34 @@ workflows:
branches: branches:
only: only:
- main - main
# build-py-deploy: build-py-deploy:
# jobs: when: << pipeline.parameters.run-python-workflow >>
# - build-py-linux: jobs:
# filters: - hold:
# branches: type: approval
# only: - build-py-linux:
# - build-py-macos: filters:
# filters: branches:
# branches: only:
# only: - build-py-macos:
# - build-py-windows: filters:
# filters: branches:
# branches: only:
# only: requires:
# - store-and-upload-wheels: - hold
# filters: - build-py-windows:
# branches: filters:
# only: branches:
# requires: only:
# - build-py-windows requires:
# - build-py-linux - hold
# - build-py-macos - store-and-upload-wheels:
filters:
branches:
only:
- main
requires:
- hold
- build-py-windows
- build-py-linux
- build-py-macos