Skip to content

feat(agent): setup CI pipeline, CMake formatting targets & code stubs#15

Merged
varev-dev merged 5 commits into
develfrom
devops/agent-ci
Dec 7, 2025
Merged

feat(agent): setup CI pipeline, CMake formatting targets & code stubs#15
varev-dev merged 5 commits into
develfrom
devops/agent-ci

Conversation

@varev-dev

@varev-dev varev-dev commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

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

  • New Pipeline: Created agent_ci.yml to run builds and checks on every Pull Request and merge to main and devel.
  • Style Check: CI pipeline strictly validates code against Google Style (clang-format -style=Google).
  • Git History: Added .git-blame-ignore-revs to exclude mass reformatting commits from git blame history.

Build System

  • New Targets: Added custom targets to facilitate style management:
    • make format: Applies Google Style formatting to source files.
    • make check-format: Verifies style compliance (used by CI).
  • Configuration: Integrated clang-format execution directly into CMake with hardcoded -style=Google argument.

Code Quality & Style

  • Enforcement: Applied mass reformatting to the entire codebase to match Google Style guidelines.

Implementation

  • Stubs: Added initial code stubs/skeletons to define the project structure.

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-revs

Related Issues

Closes #14

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.
@varev-dev varev-dev added the enhancement New feature or request label Dec 7, 2025
@varev-dev varev-dev added this to volta Dec 7, 2025
@varev-dev varev-dev changed the base branch from main to devel December 7, 2025 00:19
@varev-dev varev-dev changed the base branch from devel to main December 7, 2025 00:22
@varev-dev varev-dev changed the base branch from main to devel December 7, 2025 00:23
@varev-dev varev-dev requested a review from kox13 December 7, 2025 00:25

@kox13 kox13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@varev-dev varev-dev requested a review from kox13 December 7, 2025 00:52
@varev-dev varev-dev merged commit 9bdbfa2 into devel Dec 7, 2025
1 check passed
@varev-dev varev-dev deleted the devops/agent-ci branch December 7, 2025 00:56
@github-project-automation github-project-automation Bot moved this to Done in volta Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Infra] Setup CI pipeline & enforce consistent code formatting for Agent

2 participants