fixes
NixOS Configuration CI / Nix Flake Check (push) Successful in 52s

This commit is contained in:
2026-06-03 23:54:11 +02:00
parent b17a484806
commit f4b66744ad
7 changed files with 90 additions and 178 deletions
+13 -54
View File
@@ -1,63 +1,22 @@
name: CI
name: NixOS Configuration CI
on:
push:
branches: [ main, master ]
branches:
- main
- master
pull_request:
branches: [ main, master ]
branches:
- main
- master
jobs:
flake-check:
name: Flake Check
runs-on: ubuntu-latest
check:
name: Nix Flake Check
runs-on: nixos
steps:
- name: Checkout code
- name: Checkout Repository
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-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
- name: Run nix flake check
run: nix flake check --show-trace