Conversation
…hared by Dependencies and Core and move setups to Dependencies/CMakeLists.txt (#3405)
…es to a host (#3405)
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review. WalkthroughThe change adds optional Google Test and Google Benchmark build paths, engine test and benchmark executables, crash-handler callbacks, and CI test execution. ChangesTest and Benchmark Build Integration
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Other Merge Risk: ⚪ Minimal · up to CI runs the new tests on supported Windows presets, and CTest discovery and test registration are configured. No outstanding merge-blocking risk is identified. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new tooling is opt-in locally, but CI enables tests across both games’ Windows builds. Tests run with existing build permissions; no increased credential authority or production exposure was established. External dependency contents and effective runner isolation were not fully verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Hardening Proposals
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
39ada8ed-dc78-4fa9-b708-3b88ee3e10c0
📒 Files selected for processing (36)
.github/workflows/ci.yml.github/workflows/reusable-build-toolchain.ymlCMakeLists.txtCMakePresets.jsonCore/CMakeLists.txtCore/GameEngine/Include/Common/Debug.hCore/GameEngine/Source/Common/System/Debug.cppCore/GoogleBenchmark/CMakeLists.txtCore/GoogleBenchmark/GameEngine/Common/AsciiStringBenchmark.cppCore/GoogleBenchmark/GoogleBenchmarkMain.cppCore/GoogleBenchmark/Libraries/Compression/CompressionManagerBenchmark.cppCore/GoogleTest/CMakeLists.txtCore/GoogleTest/GameEngine/Common/AsciiStringTest.cppCore/GoogleTest/GoogleTestMain.cppCore/GoogleTest/Libraries/Compression/CompressionManagerTest.cppDependencies/Bink/CMakeLists.txtDependencies/CMakeLists.txtDependencies/DbgHelp/CMakeLists.txtDependencies/GoogleBenchmark/CMakeLists.txtDependencies/GoogleBenchmark/Utility/stringex_benchmark.cppDependencies/GoogleTest/CMakeLists.txtDependencies/GoogleTest/Utility/stringex_test.cppDependencies/Miles/CMakeLists.txtDependencies/Usp10/CMakeLists.txtDependencies/Utility/CMakeLists.txtGenerals/Code/CMakeLists.txtGenerals/Code/GoogleBenchmark/CMakeLists.txtGenerals/Code/GoogleTest/CMakeLists.txtGeneralsMD/Code/CMakeLists.txtGeneralsMD/Code/GoogleBenchmark/CMakeLists.txtGeneralsMD/Code/GoogleTest/CMakeLists.txtTESTING.mdcmake/config-build.cmakecmake/config.cmakecmake/googlebenchmark.cmakecmake/googletest.cmake
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
3738ca6 to
848c0a6
Compare
848c0a6 to
f359d8b
Compare
f359d8b to
70e5c65
Compare
|
Commit count reduced by 1. |
Merge with Rebase
This change adds the Google Test and Google Benchmark frameworks and creates the following executable targets:
Both games inherit the same tests and benchmarks from Dependencies and Core, so there will be duplication, but essentially they compile with RTS_GENERALS and RTS_ZEROHOUR respectively.
The tests and benchmarks have a few samples added for Dependencies, Game core and libraries.
The tests are enabled in the win32 CI builds, but the benchmarks are disabled for potential time constraints reasons.
AI Use
This was mostly generated with Claude Opus 5.5. Went through reviews and minor fixups.
TODO