Skip to content

Commit

Permalink
Cibuildwheel now builds python verions in parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Bhavye Mathur <bhavyemathur@gmail.com>
  • Loading branch information
BhavyeMathur committed Feb 14, 2024
1 parent d1333a5 commit ec4f1bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-goopylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4

- name: Configure submodules
run: git submodule update --init --recursive
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
fail-fast: false
matrix:
os: [ windows-latest, macos-latest ]
python: [ cp38-*, cp39-*, cp310-*, cp311-* ]

steps:
- uses: actions/checkout@v3
Expand All @@ -103,9 +104,11 @@ jobs:
run: git submodule update --init --recursive

- name: Build Python wheels
env:
CIBW_BUILD: ${{ matrix.build }}
uses: pypa/cibuildwheel@v2.11.4

- uses: actions/upload-artifact@v4
with:
name: goopylib-${{ matrix.os }}-wheels
name: goopylib-${{ matrix.python }}-${{ matrix.os }}-wheels
path: wheelhouse/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ include-package-data = false
[tool.cibuildwheel]
before-all = "git submodule update --init --recursive"
build-frontend = "build"
build = "cp38-* cp39-* cp310-* cp311-*"
#build = "cp38-* cp39-* cp310-* cp311-*"

[tool.cibuildwheel.windows]
archs = ["AMD64"]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup, Extension
import setuptools

FULLVERSION = "2.0.0.beta0"
FULLVERSION = "2.0.0"
PYTHON_REQUIRES = (3, 8)

RUNTIME_LIBRARY_DIRS = []
Expand Down

0 comments on commit ec4f1bc

Please sign in to comment.