Repository navigation
ci: fold tests into package-* jobs, drop redundant test job - #55
Merged
Merged
Conversation
Each push previously triggered 18 builds (6 test + 12 package) and the package-* jobs ran even on test failure. Worse, the test builds were configured with CUDA=OFF, CGAL=OFF, MESHER=OFF, SDF=OFF, so they never exercised the code we actually shipped. Drop the standalone test job and run ctest inside the package-* jobs on libcvc-kind builds, after the same configure/build the artifacts go through. cpack only runs if ctest passes (default sequential step semantics). Coverage report + Codecov upload move into package-linux libcvc-debug. Net effect: 18 builds -> 12 builds, tests cover the artifacts we ship, and a test regression now blocks the upload step.
transfix
added a commit
that referenced
this pull request
May 11, 2026
geometry_test.cpp:1030 called std::min(source.num_points(), size_t(100)) where num_points() returns uint64_t. On macOS arm64 size_t is unsigned long and uint64_t is unsigned long long; even though they are the same width, template deduction fails. Linux x86_64 happens to typedef both as unsigned long so this only broke on macOS. The bug was latent until #55 turned on CVC_BUILD_TESTS=ON in the macOS package-* jobs. Use an explicit template argument so the literal 100 just deduces to size_t.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: 18 builds per push (6
test+ 12package-*), each with its own configure/build. The standalonetestjob built withCUDA=OFF,CGAL=OFF,MESHER=OFF,SDF=OFF, so it never exercised the code paths the shipped artifacts contain. Thepackage-*jobs ran independently oftest, so a failing test did not block artifact uploads.After: 12 builds per push. ctest runs inside each
package-*job onlibcvc-kind builds, between Build and Pack. CGAL / Mesher / SDF / CUDA are enabled for both libcvc and volrover3 builds. cpack only runs if ctest passes.Coverage report + Codecov upload moved into
package-linuxlibcvc-debug.