-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81f9ee3
commit b048a8b
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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*' | ||
|
@@ -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: . | ||
|
@@ -38,6 +39,7 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
|