Update CMake configuration to enhance test suite management
- Modified `CMakeLists.txt` to cache the `YAZE_BUILD_TESTS` option, improving clarity in test suite configuration. - Updated the GitHub Actions workflow to include verification steps for the CMake configuration, ensuring that test targets are correctly identified. - Adjusted test discovery logic in `test/CMakeLists.txt` to double-check that tests are enabled, enhancing the robustness of the build process.
This commit is contained in:
@@ -42,7 +42,7 @@ set(YAZE_BUILD_APP ON)
|
||||
set(YAZE_BUILD_LIB ON)
|
||||
set(YAZE_BUILD_EMU ON)
|
||||
set(YAZE_BUILD_Z3ED ON)
|
||||
set(YAZE_BUILD_TESTS ON)
|
||||
set(YAZE_BUILD_TESTS ON CACHE BOOL "Build test suite")
|
||||
set(YAZE_INSTALL_LIB OFF)
|
||||
|
||||
# Testing and CI Configuration
|
||||
|
||||
Reference in New Issue
Block a user