We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed43557 commit 0e827b1Copy full SHA for 0e827b1
.github/workflows/build.yml
@@ -56,14 +56,15 @@ jobs:
56
if: matrix.numpy-version
57
run: pip install "numpy==${{ matrix.numpy-version }}.*"
58
59
- - name: Local Build
60
- run: pip install -e .
61
-
62
- - name: Test
63
- run: python -m pytest
64
65
- name: Build wheels
66
uses: pypa/cibuildwheel@v3.1.3
+ env:
+ CIBW_BEFORE_BUILD: |
+ if [ -n "${{ matrix.numpy-version }}" ]; then
+ pip install --force-reinstall "numpy==${{ matrix.numpy-version }}.*"
+ python -c "import numpy; print('cibuildwheel NumPy version:', numpy.__version__)"
+ fi
67
+
68
69
- name: Make sdist
70
if: ${{ matrix.os == 'windows-latest' }}
0 commit comments