Merge pull request #43 from qiboteam/wheels-workflow
Add wheels deploying workflow
This commit is contained in:
22
.github/workflows/deploy.yml
vendored
Normal file
22
.github/workflows/deploy.yml
vendored
Normal file
@@ -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]
|
||||
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"
|
||||
secrets: inherit
|
||||
942
poetry.lock
generated
942
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -23,12 +23,12 @@ packages = [{ include = "qibotn", from = "src" }]
|
||||
python = "^3.9,<3.12"
|
||||
qibo = "^0.2.4"
|
||||
quimb = { version = "^1.6.0", extras = ["tensor"] }
|
||||
cupy = { version = "^11.6.0", optional = true }
|
||||
cupy-cuda11x = { version = "^11.6.0", optional = true }
|
||||
cuquantum-python-cu11 = { version = "^23.3.0", optional = true }
|
||||
mpi4py = { version = "^3.1.5", optional = true }
|
||||
|
||||
[tool.poetry.extras]
|
||||
cuda = ["cupy", "cuquantum-python-cu11", "mpi4py"]
|
||||
cuda = ["cupy-cuda11x", "cuquantum-python-cu11", "mpi4py"]
|
||||
|
||||
[tool.poetry.group.docs]
|
||||
optional = true
|
||||
|
||||
Reference in New Issue
Block a user