Skip to content

Commit

Permalink
Update pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-salles committed Jun 19, 2024
1 parent 81f9ee3 commit b048a8b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x

- name: Build wheels
uses: pypa/[email protected]
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.19.1
# - name: Build wheels
# uses: pypa/[email protected]
env:
# Disable building PyPy wheels on all platforms
CIBW_SKIP: 'pp*'
Expand All @@ -28,8 +29,8 @@ jobs:
CIBW_BEFORE_BUILD_MACOS: "brew install ninja gcc && brew reinstall gcc"
# CIBW_BEFORE_BUILD_LINUX: "apt-get install -y ninja-build"
CIBW_BEFORE_BUILD: "pip install numpy meson-python ninja setuptools build"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/stripy/tests"
# CIBW_TEST_REQUIRES: pytest
# CIBW_TEST_COMMAND: "pytest {project}/gospl/tests"
# ...
# with:
# package-dir: .
Expand All @@ -38,6 +39,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down

0 comments on commit b048a8b

Please sign in to comment.