summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-build-linux.yml
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2022-01-04 14:57:34 +0100
committerGitHub <noreply@github.com>2022-01-04 14:57:34 +0100
commitf4a1bf9cb12b50d3f99dacb7c3f4535f2107effa (patch)
tree4a8fab9de74ee2771ee85073444a8cee097664d8 /.github/workflows/pip-build-linux.yml
parentba7628c3b81171c65113c2df131cd683b26c2964 (diff)
parent890f598e784ea8b6cd417c2a949326b4e2028fe5 (diff)
Merge pull request #557 from VincentRouvreau/python_3_10_pip_package
pip package for python 3.10
Diffstat (limited to '.github/workflows/pip-build-linux.yml')
-rw-r--r--.github/workflows/pip-build-linux.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/pip-build-linux.yml b/.github/workflows/pip-build-linux.yml
index 12979a86..a2b4f085 100644
--- a/.github/workflows/pip-build-linux.yml
+++ b/.github/workflows/pip-build-linux.yml
@@ -12,15 +12,16 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- - name: Build wheel for Python 3.9
+ - name: Build wheel for Python 3.10
run: |
- mkdir build_39
- cd build_39
- cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$PYTHON39/bin/python ..
+ mkdir build_310
+ cd build_310
+ cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$PYTHON310/bin/python ..
cd src/python
- $PYTHON39/bin/python setup.py bdist_wheel
+ $PYTHON310/bin/python setup.py bdist_wheel
auditwheel repair dist/*.whl
- - name: Install and test wheel for Python 3.9
+ - name: Install and test wheel for Python 3.10
run: |
- $PYTHON39/bin/python -m pip install --user pytest build_39/src/python/dist/*.whl
- $PYTHON39/bin/python -m pytest src/python/test/test_alpha_complex.py
+ $PYTHON310/bin/python -m pip install --user pytest build_310/src/python/dist/*.whl
+ $PYTHON310/bin/python -c "import gudhi; print(gudhi.__version__)"
+ $PYTHON310/bin/python -m pytest src/python/test/test_alpha_complex.py