C bindings are required to build Python package (#883)

* Don't attempt to build C bindings for Python package

* Add workflow stage to do a test build of the SDist
This commit is contained in:
Jonathan Hogg
2024-08-03 20:40:45 +08:00
committed by GitHub
parent a37d59ef5b
commit 7ad7703964
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
name: build_wheels
on:
on:
release:
types: [published]
workflow_dispatch:
@@ -35,6 +35,8 @@ jobs:
submodules: recursive
- name: Build SDist
run: pipx run build --sdist
- name: Confirm SDist can be built
run: pip wheel dist/*.tar.gz
- uses: actions/upload-artifact@v4
with:
name: python-sdist
+1 -1
View File
@@ -45,7 +45,7 @@ sdist.exclude = [
"oneTBB", # we may have this when we build with cibuildwheel
]
wheel.packages = ["manifold3d"]
cmake.args = ["-DMANIFOLD_PYBIND=ON", "-DMANIFOLD_PAR=TBB", "-DMANIFOLD_TEST=OFF", "-DBUILD_SHARED_LIBS=OFF"]
cmake.args = ["-DMANIFOLD_PYBIND=ON", "-DMANIFOLD_CBIND=OFF", "-DMANIFOLD_PAR=TBB", "-DMANIFOLD_TEST=OFF", "-DBUILD_SHARED_LIBS=OFF"]
install.components = ["bindings"]
[tool.cibuildwheel]