Files
mcp-servers/.gitea/workflows/ci.yml
MCP Packages 2a33c11558
Some checks failed
CI / Build All Packages (push) Failing after 8s
CI / Build Individual Packages (academic-search-mcp-server) (push) Successful in 58s
CI / Build Individual Packages (kindly-web-search-mcp-server) (push) Has been cancelled
CI / Flake Check (push) Has been cancelled
CI / Build Individual Packages (manim-mcp-server) (push) Has been cancelled
CI / Build Individual Packages (pdf-reader-mcp) (push) Has been cancelled
CI / Build Individual Packages (rust-research-mcp) (push) Has been cancelled
CI / Build Individual Packages (duckduckgo-mcp-server) (push) Has been cancelled
CI / Build Individual Packages (zotero-mcp) (push) Has been cancelled
fix?
2026-02-07 00:16:59 +01:00

74 lines
1.9 KiB
YAML

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
flake-check:
name: Flake Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v26
with:
extra_nix_config: |
experimental-features = nix-command flakes
accept-flake-config = true
- name: Validate flake
run: nix flake check --print-build-logs
build-all:
name: Build All Packages
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build all MCP servers
run: nix build .#default --print-build-logs
build-individual:
name: Build Individual Packages
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- academic-search-mcp-server
- duckduckgo-mcp-server
- kindly-web-search-mcp-server
- manim-mcp-server
- pdf-reader-mcp
- rust-research-mcp
- zotero-mcp
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v26
with:
extra_nix_config: |
experimental-features = nix-command flakes
accept-flake-config = true
- name: Build ${{ matrix.package }}
run: nix build .#${{ matrix.package }} --print-build-logs
- name: Test executable exists
run: |
if [ -e "./result/bin/${{ matrix.package }}" ]; then
echo "✓ Executable found: ${{ matrix.package }}"
./result/bin/${{ matrix.package }} --help || true
else
echo "⚠ No executable found at ./result/bin/${{ matrix.package }}"
ls -la ./result/bin/ || echo "No bin directory"
fi