From c3b1c49157e6469b7a52202379ecb381cba3371a Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 11 Sep 2026 11:14:20 +0500 Subject: [PATCH] ci: test building with manifold As it's part of the default build in build-all.py. --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5197941ed9..83d696b5c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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)