Refactor CI & CMake Setup: Rename Targets, Update Checkout, and Improve Test Script #8
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.
This pull request includes multiple changes aimed at improving the build process, updating dependencies, and fixing issues in the codebase. The most important changes include renaming libraries and executables, updating CI configurations, and modifying sorting algorithms to address CI environment issues.
Build and CI Improvements:
.github/workflows/cpp-ci.yml: Updated theusesversion foractions/checkoutfromv3tov4.CMakeLists.txt: Renamed the library fromalgorithmtoclavis_algorithmand the test executable fromalgorithm_testtoclavis_algorithm_test. Updated related CMake commands accordingly.scripts/run_tests.sh: Addedset -euxfor better debugging and error handling, and updated the script to usectestfor running tests instead of directly invoking the test executable.Code Improvements:
src/graph/bfs.hpp: Replacedstd::ranges::reversewithstd::reverseto fix compatibility issues.src/sorting/merge_sort.hpp,src/sorting/radix_sort.hpp): Commented out usage ofstd::ranges::movedue to CI environment issues and replaced withstd::move. [1] [2]Dependency Updates:
<algorithm>and<vector>in several header files to ensure proper functionality and compatibility. [1] [2] [3] [4] [5] [6] [7] [8]