summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-build-linux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pip-build-linux.yml')
-rw-r--r--.github/workflows/pip-build-linux.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/pip-build-linux.yml b/.github/workflows/pip-build-linux.yml
index 550a314f..980d610f 100644
--- a/.github/workflows/pip-build-linux.yml
+++ b/.github/workflows/pip-build-linux.yml
@@ -18,16 +18,17 @@ jobs:
cd build_311
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$PYTHON311/bin/python ..
cd src/python
- $PYTHON311/bin/python setup.py bdist_wheel
+ $PYTHON311/bin/python -m build
auditwheel show dist/*.whl
auditwheel repair dist/*.whl
+ ls wheelhouse/*.whl
- name: Install and test wheel for Python 3.11
run: |
- $PYTHON311/bin/python -m pip install --user pytest build_311/src/python/dist/*.whl
+ $PYTHON311/bin/python -m pip install --user pytest build_311/src/python/wheelhouse/*.whl
$PYTHON311/bin/python -c "import gudhi; print(gudhi.__version__)"
$PYTHON311/bin/python -m pytest src/python/test/test_alpha_complex.py
- name: Upload linux python wheel
uses: actions/upload-artifact@v3
with:
name: linux python wheel
- path: build_311/src/python/dist/*.whl
+ path: build_311/src/python/wheelhouse/*.whl