diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-08-21 15:40:55 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-08-21 15:40:55 +0200 |
commit | e34a7a37ba9ad9e00be7d7d17d6986da06a3cdac (patch) | |
tree | 434579073380993c9ae38d84efeb684ad4fe93cc /.github/workflows/pip-build-osx.yml | |
parent | e8cfcc7017f9002a229996232fdb2d03a41d7ea7 (diff) | |
parent | 0e620832b3b6d2e1027ead9730dce872983dd2ce (diff) |
Merge branch 'master' into alpha_complex_3d_does_not_require_eigen
Diffstat (limited to '.github/workflows/pip-build-osx.yml')
-rw-r--r-- | .github/workflows/pip-build-osx.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/pip-build-osx.yml b/.github/workflows/pip-build-osx.yml new file mode 100644 index 00000000..15b8880a --- /dev/null +++ b/.github/workflows/pip-build-osx.yml @@ -0,0 +1,34 @@ +name: pip build osx + +on: [push, pull_request] + +jobs: + build: + runs-on: macos-latest + strategy: + max-parallel: 4 + matrix: + python-version: ['3.8'] + name: Build wheels for Python ${{ matrix.python-version }} + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + architecture: x64 + - name: Install dependencies + run: | + brew update || true + brew install boost eigen gmp mpfr cgal || true + python -m pip install --user -r .github/build-requirements.txt + python -m pip install --user twine delocate + - name: Build python wheel + run: | + python --version + mkdir build + cd build + cmake -DCMAKE_BUILD_TYPE=Release -DPython_ADDITIONAL_VERSIONS=3 .. + cd src/python + python setup.py bdist_wheel |