mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Merge pull request #7581 from hugovk/requirements-cibw
Install cibuildwheel from requirements file
This commit is contained in:
commit
697c24bc7d
1
.ci/requirements-cibw.txt
Normal file
1
.ci/requirements-cibw.txt
Normal file
|
@ -0,0 +1 @@
|
|||
cibuildwheel==2.16.2
|
10
.github/workflows/wheels.yml
vendored
10
.github/workflows/wheels.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user