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:
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user