summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-packaging-linux.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-01-26 09:11:21 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-01-26 09:11:21 +0100
commite750f1d0a91fd6f56f2ce9c28ee576067fc4b8cc (patch)
tree05494f7b0571e53eaa1b72ee3862539ea20e3319 /.github/workflows/pip-packaging-linux.yml
parent6e958975a3ca7e23b57bfa8830b76b8d99b3063f (diff)
parentc838e3ec441109cc02ea4612dd2189860662298f (diff)
Merge branch 'master' into coxeter_integration
Diffstat (limited to '.github/workflows/pip-packaging-linux.yml')
-rw-r--r--.github/workflows/pip-packaging-linux.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/pip-packaging-linux.yml b/.github/workflows/pip-packaging-linux.yml
index bd524af9..95e8f034 100644
--- a/.github/workflows/pip-packaging-linux.yml
+++ b/.github/workflows/pip-packaging-linux.yml
@@ -8,6 +8,7 @@ jobs:
build:
name: build pip wheels
runs-on: ubuntu-latest
+ # cf. https://github.com/GUDHI/gudhi-deploy/blob/main/Dockerfile_for_pip
container: gudhi/pip_for_gudhi
steps:
- uses: actions/checkout@v1
@@ -45,12 +46,21 @@ jobs:
cd src/python
$PYTHON38/bin/python setup.py bdist_wheel
auditwheel repair dist/*.whl
+ - name: Build wheels for Python 3.9
+ run: |
+ mkdir build_39
+ cd build_39
+ cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$PYTHON39/bin/python ..
+ cd src/python
+ $PYTHON39/bin/python setup.py bdist_wheel
+ auditwheel repair dist/*.whl
- name: Publish on PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
- $PYTHON38/bin/python -m twine upload build_35/src/python/wheelhouse/*
- $PYTHON38/bin/python -m twine upload build_36/src/python/wheelhouse/*
- $PYTHON38/bin/python -m twine upload build_37/src/python/wheelhouse/*
- $PYTHON38/bin/python -m twine upload build_38/src/python/wheelhouse/* \ No newline at end of file
+ $PYTHON39/bin/python -m twine upload build_35/src/python/wheelhouse/*
+ $PYTHON39/bin/python -m twine upload build_36/src/python/wheelhouse/*
+ $PYTHON39/bin/python -m twine upload build_37/src/python/wheelhouse/*
+ $PYTHON39/bin/python -m twine upload build_38/src/python/wheelhouse/*
+ $PYTHON39/bin/python -m twine upload build_39/src/python/wheelhouse/* \ No newline at end of file