Skip to content

Commit 20bc614

Browse files
authored
ci: adding macosx build
1 parent 771f035 commit 20bc614

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/pypi.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,22 @@ jobs:
2222
path: ./dist/*.tar.gz
2323
wheels:
2424
name: Build wheels
25-
runs-on: ubuntu-latest
25+
runs-on: ${{ matrix.os }}
26+
strategy:
27+
matrix:
28+
os: [ubuntu-latest,macos-latest]
29+
env:
30+
MACOSX_DEPLOYMENT_TARGET: "10.13"
2631
steps:
2732
- uses: actions/checkout@v4
2833
- uses: actions/setup-python@v5
2934
- name: Install dependencies
3035
run: |
3136
python -m pip install --upgrade pip
3237
pip install cibuildwheel
38+
- if: matrix.os == 'macos-latest'
39+
run: |
40+
brew install cgal
3341
- name: Build wheels
3442
run: |
3543
cibuildwheel --output-dir dist

0 commit comments

Comments
 (0)