Skip to content

feat: Add mcp support and example. #60

feat: Add mcp support and example.

feat: Add mcp support and example. #60

Workflow file for this run

name: Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install pre-commit
run: pip install pre-commit
- name: Install clang tools
run: |
sudo apt-get update
sudo apt-get install -y clang-format-14 clang-tidy-14 libssl-dev
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-14 100
- name: Show tool versions
run: |
echo "clang-format version:"
clang-format --version
echo "clang-tidy version:"
clang-tidy --version
- name: Configure CMake
run: cmake -B build -S . -DAGENT_CPP_BUILD_MCP=ON
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --verbose