forked from chatnoir-eu/chatnoir-resiliparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test if directly using cibuildwheel recipe fixes QEMU problems
- Loading branch information
Jonas Dedden
committed
Mar 1, 2024
1 parent
629ced8
commit 97ba689
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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])" && | ||
|