Separate cibuildwheel install

This commit is contained in:
Andrew Murray 2024-01-04 17:24:09 +11:00
parent e84b0a4015
commit 60e82e5a3f

View File

@ -119,9 +119,11 @@ jobs:
with:
python-version: "3.x"
- name: Build wheels
- name: Install cibuildwheel
run: |
python3 -m pip install -r .ci/requirements-cibw.txt
- name: Build wheels
python3 -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: ${{ matrix.cibw_arch }}
@ -163,6 +165,10 @@ jobs:
with:
python-version: "3.x"
- name: Install cibuildwheel
run: |
& python.exe -m pip install -r .ci/requirements-cibw.txt
- name: Prepare for build
run: |
choco install nasm --no-progress
@ -171,8 +177,6 @@ jobs:
# Install extra test images
xcopy /S /Y Tests\test-images\* Tests\images
& python.exe -m pip install -r .ci/requirements-cibw.txt
& python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.arch }}
shell: pwsh