summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-build-linux.yml
blob: 726ed0d51b446c0c0a4eec9f0973595a3d3cbc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: pip build linux

on: [push, pull_request]

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
        with:
          submodules: true
      - 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