diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2023-01-12 21:46:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 21:46:50 +0100 |
commit | 533efd51253b0770f9a7de04a42f0820f1a1af66 (patch) | |
tree | b984a57753f723513095fc11489dccd25923715b /.github/workflows/pip-build-linux.yml | |
parent | fd7ca7ad464fbd5fef42802a30ae8f74dffe938e (diff) | |
parent | 14a0e7bc0a89ab5d576c39ffd596843608fbf1dc (diff) |
Merge pull request #769 from VincentRouvreau/strip_python_modules
Python pip modules enhancements
Diffstat (limited to '.github/workflows/pip-build-linux.yml')
-rw-r--r-- | .github/workflows/pip-build-linux.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/pip-build-linux.yml b/.github/workflows/pip-build-linux.yml index bc4f999e..88ca7db3 100644 --- a/.github/workflows/pip-build-linux.yml +++ b/.github/workflows/pip-build-linux.yml @@ -18,10 +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 -n + 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/wheelhouse/*.whl |