Refactor project structure and improve Github Actions performance#29
Merged
Conversation
…akeLists and automatic hook copying when building
This was
linked to
issues
Apr 9, 2026
FW-Nagorko
approved these changes
Apr 10, 2026
Collaborator
FW-Nagorko
left a comment
There was a problem hiding this comment.
Build works correctly.
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.
Closes #28, Closes #27
Summary
This PR introduces a structural refactor of the repository to properly isolate the agent service and improves developer and CI tooling consistency.
It combines:
Repository restructuring
The project structure has been updated to isolate the agent service into a dedicated directory:
Changes
sources/agent/CMakeLists.txtlibs/CI improvements
Improved GitHub Actions performance by introducing proper caching for vcpkg dependencies using caching strategy in CI workflows. Additionally, replaced manual
apt-getbased tool installation withaminya/setup-cpp@v1.This provides a faster and more consistent setup for required C++ tooling (e.g. clang-format, cppcheck), reducing CI setup time and improving reproducibility.Improvements:
vcpkg.json)Developer tooling improvements
Pre-commit hook integration
During CMake configuration, a pre-commit hook is now copied into:
.git/hooks/Behavior:
check-formatsources/agent/srcBenefit:
Configuration improvements
Added a sample configuration file for local development:
sources/agent/agent.example.confPurpose: