feat(agent): setup CI pipeline, CMake formatting targets & code stubs#15
Merged
Conversation
Introduced a dummy implementation of NVML functions (Init, Shutdown, DeviceGetHandle, etc.) to allow the agent to compile and link successfully on CI runners (Ubuntu) where NVIDIA drivers are missing. This stub is conditionally linked via CMake when the system NVML library is not found.
…format, clean agent ci
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.
Summary
This PR lays the groundwork for the Agent module. It introduces a complete CI pipeline from scratch, integrates code formatting tools into the build system, and establishes the initial project structure with code stubs.
Key Changes
CI/CD & Infrastructure
agent_ci.ymlto run builds and checks on every Pull Request and merge to main and devel.clang-format -style=Google)..git-blame-ignore-revsto exclude mass reformatting commits from git blame history.Build System
make format: Applies Google Style formatting to source files.make check-format: Verifies style compliance (used by CI).clang-formatexecution directly into CMake with hardcoded-style=Googleargument.Code Quality & Style
Implementation
Note
This PR includes a mass reformat of existing files. To ignore whitespace changes in the history, please run:
git config blame.ignoreRevsFile .git-blame-ignore-revsRelated Issues
Closes #14