ci: test building with manifold

As it's part of the default build in build-all.py.
This commit is contained in:
Andrej730
2026-09-11 11:14:20 +05:00
parent 7f9423daa6
commit c3b1c49157
+22
View File
@@ -164,6 +164,27 @@ jobs:
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
sudo cmake --build . --target install -j $(nproc)
# Build manifold to test the manifold geometry kernel
# (it's included by default in build-all).
- name: Build manifold
run: |
git clone https://github.com/elalish/manifold.git --branch v3.2.1 --depth 1
cd manifold
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DMANIFOLD_PAR=OFF \
-DMANIFOLD_CROSS_SECTION=OFF \
-DMANIFOLD_PYBIND=OFF \
-DMANIFOLD_JSBIND=OFF \
-DMANIFOLD_CBIND=OFF \
-DMANIFOLD_TEST=OFF \
-DMANIFOLD_EXPORT=OFF \
-DMANIFOLD_DOWNLOADS=OFF
sudo cmake --build . --target install -j $(nproc)
# Ubuntu has `swig` package, but we build it to match the version we use in the main build.
# To avoid failing tests when checking stub generation.
- name: build swig
@@ -197,6 +218,7 @@ jobs:
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
-DGLTF_SUPPORT=On \
-DWITH_ROCKSDB=On \
-DWITH_MANIFOLD=ON \
-DBUILD_EXAMPLES=ON \
../cmake
sudo make -j $(nproc)