From 2b6d85fc5373a378065320bdfa0586640f0d891f Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Sat, 2 Mar 2024 09:40:21 +0100 Subject: [PATCH] ci: Add wheels deploying workflow --- .github/workflows/deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..aec3295 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +# A single CI script with github workflow +name: Build wheels + +on: + push: + release: + types: + - published + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [3.9, '3.10', '3.11'] + uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main + with: + os: ${{ matrix.os }} + python-version: ${{ matrix.python-version }} + publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} + poetry-extras: "--with docs,tests,analysis --all-extras" + secrets: inherit