summaryrefslogtreecommitdiff
path: root/third_party/mcpc/.github/workflows/mcpc.yml
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-06-30 19:03:25 +0900
committertanaka takashi <isazaka@gmail.com>2026-06-30 19:03:25 +0900
commit05c8e0a31a0d4192c590e833b24393208e1c751f (patch)
treef7c2c82c9327abde67bf3acf1d0258573b3bc6c2 /third_party/mcpc/.github/workflows/mcpc.yml
parent4bc721c3bf7589b519c5730d093f704ce56e3f09 (diff)
fix: MCPCをvendored fork化しMCP準拠と接続安定性を改善
- Git submoduleを廃止してMCPCを直接管理 - Windowsで254リクエスト付近に発生する切断を修正 - JSON-RPC 2.0エラー応答を標準化 - tool schemaとruntimeの必須・任意引数を一致 - 1000回連続呼び出しの回帰テストを追加
Diffstat (limited to 'third_party/mcpc/.github/workflows/mcpc.yml')
-rw-r--r--third_party/mcpc/.github/workflows/mcpc.yml112
1 files changed, 112 insertions, 0 deletions
diff --git a/third_party/mcpc/.github/workflows/mcpc.yml b/third_party/mcpc/.github/workflows/mcpc.yml
new file mode 100644
index 0000000..832395b
--- /dev/null
+++ b/third_party/mcpc/.github/workflows/mcpc.yml
@@ -0,0 +1,112 @@
+name: mcpc
+run-name: mcpc
+on: [push]
+jobs:
+ x64-linux-gcc10-glibc231:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - run: ls -l .
+ - run: sudo apt-get install -y buildah podman
+ - run: buildah from --name wctn docker.io/library/debian:bullseye
+ - run: buildah run wctn -- apt-get update
+ - run: buildah run wctn -- apt-get install -y sudo bash gcc make
+ - run: buildah copy wctn ../mcpc /mcpc
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make tst"
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make install"
+ - run: buildah run wctn -- bash -c "ls -l /usr/local/lib"
+ x64-linux-gcc12-glibc236:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - run: ls -l .
+ - run: sudo apt-get install -y buildah podman
+ - run: buildah from --name wctn docker.io/library/debian:bookworm
+ - run: buildah run wctn -- apt-get update
+ - run: buildah run wctn -- apt-get install -y sudo bash gcc make
+ - run: buildah copy wctn ../mcpc /mcpc
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make tst"
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make install"
+ - run: buildah run wctn -- bash -c "ls -l /usr/local/lib"
+ x64-linux-gcc14-glibc240:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - run: ls -l .
+ - run: sudo apt-get install -y buildah podman
+ - run: buildah from --name wctn docker.io/library/fedora:41
+ - run: buildah run wctn -- dnf install -y bash gcc make
+ - run: buildah copy wctn ../mcpc /mcpc
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make tst"
+ - run: buildah run wctn -- bash -c "cd /mcpc && CC=gcc make install"
+ - run: buildah run wctn -- bash -c "ls -l /usr/local/lib"
+ x64-win2022-vs2022:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: windows-2022
+ steps:
+ - uses: actions/checkout@v4
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && dir' }}
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && make' }}
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && make tst' }}
+ - run: dir tst/itst-svcalc.exe
+ - run: ldd tst/itst-svcalc.exe
+ x64-win2025-vs2022:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: windows-2025
+ steps:
+ - uses: actions/checkout@v4
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && dir' }}
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && make' }}
+ - shell: cmd
+ run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && make tst' }}
+ - run: dir tst/itst-svcalc.exe
+ - run: ldd tst/itst-svcalc.exe
+ x64-win2022-gcc:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: windows-2022
+ steps:
+ - uses: actions/checkout@v4
+ - run: gcc --version
+ - run: make --version
+ - run: make tst
+ - run: ldd tst/itst-svcalc.out
+ x64-win2025-gcc:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: windows-2025
+ steps:
+ - uses: actions/checkout@v4
+ - run: gcc --version
+ - run: make --version
+ - run: make tst
+ - run: ldd tst/itst-svcalc.out
+ x64-mac13-clang:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: macos-13
+ steps:
+ - uses: actions/checkout@v4
+ - run: make tst
+ - run: otool -L tst/itst-svcalc.out
+ x64-mac14-clang:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: macos-14
+ steps:
+ - uses: actions/checkout@v4
+ - run: make tst
+ - run: otool -L tst/itst-svcalc.out
+ x64-mac15-clang:
+ if: contains(github.event.head_commit.message, 'NO_GH_CI') == false
+ runs-on: macos-15
+ steps:
+ - uses: actions/checkout@v4
+ - run: make tst
+ - run: otool -L tst/itst-svcalc.out
+
+