Merge pull request #7581 from hugovk/requirements-cibw

Install cibuildwheel from requirements file
This commit is contained in:
Andrew Murray 2023-11-28 23:30:08 +11:00 committed by GitHub
commit 697c24bc7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1 @@
cibuildwheel==2.16.2

View File

@ -52,10 +52,14 @@ jobs:
with:
submodules: true
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
- uses: actions/setup-python@v4
with:
output-dir: wheelhouse
python-version: "3.x"
- name: Build wheels
run: |
python3 -m pip install -r .ci/requirements-cibw.txt
python3 -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_BUILD: ${{ matrix.build }}

View File

@ -35,7 +35,7 @@ jobs:
- CIBW_BUILD="*musllinux*"
install:
- python3 -m pip install cibuildwheel==2.16.2
- python3 -m pip install -r .ci/requirements-cibw.txt
script:
- python3 -m cibuildwheel --output-dir wheelhouse