Skip to content

Commit

Permalink
Test if directly using cibuildwheel recipe fixes QEMU problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Dedden committed Mar 1, 2024
1 parent 629ced8 commit 97ba689
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,24 @@ jobs:
with:
platforms: all

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
# - name: Install cibuildwheel
# run: python -m pip install cibuildwheel

- name: Build FastWARC
run: python -m cibuildwheel --output-dir wheelhouse fastwarc
uses: pypa/[email protected]
with:
package-dir: fastwarc
output-dir: wheelhouse
# run: python -m cibuildwheel --output-dir wheelhouse fastwarc
env:
CIBW_TEST_COMMAND: python -m pytest --capture=sys --verbose {project}/tests/fastwarc

- name: Build Resiliparse
run: python -m cibuildwheel --output-dir wheelhouse resiliparse
uses: pypa/[email protected]
with:
package-dir: resiliparse
output-dir: wheelhouse
# run: python -m cibuildwheel --output-dir wheelhouse resiliparse
env:
CIBW_BEFORE_TEST: >-
python -c "import glob, platform; open('fastwarc.txt', 'w').write(glob.glob('wheelhouse/FastWARC-*cp' + ''.join(map(str, platform.python_version_tuple()[:2])) + '-*_' + platform.machine().lower() + '.whl')[0])" &&
Expand Down

0 comments on commit 97ba689

Please sign in to comment.