Skip to content

Commit 723e488

Browse files
committed
Use 'cross-pip wheel' for test-crossenv
1 parent 97a9db1 commit 723e488

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,19 @@ jobs:
224224
python3.9 -m pip install crossenv
225225
python3.9 -m crossenv "/opt/python/cp39-cp39/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 venv
226226
. venv/bin/activate
227-
build-pip install cffi wheel "setuptools>=62.4"
227+
228+
build-pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1
229+
cross-pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1
230+
build-pip install cffi
228231
cross-expose cffi
229-
pip install wheel build -e ../../
230-
pip install cffi
232+
cross-pip install -e ../../
233+
231234
export DIST_EXTRA_CONFIG=/tmp/build-opts.cfg
232235
echo -e "[bdist_wheel]\npy_limited_api=cp37" > $DIST_EXTRA_CONFIG
233-
python -m build --no-isolation
236+
237+
cross-pip wheel --no-build-isolation --wheel-dir dist .
234238
ls -la dist/
239+
unzip -l dist/*.whl # debug all files inside wheel file
235240
' > build-wheels.sh
236241
237242
docker run --rm -v "$PWD":/io -w /io messense/manylinux2014-cross:${{ matrix.platform.arch }} bash build-wheels.sh

0 commit comments

Comments
 (0)