From dcd2bbae9d112d5ce7a362308c458783f927b9a0 Mon Sep 17 00:00:00 2001 From: Richard Guo Date: Fri, 9 Jun 2023 11:03:15 -0400 Subject: [PATCH] python workflows in circleci --- .circleci/continue_config.yml | 56 +++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index adca5b7a..0ab41ddb 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -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