Files
cyper-nix/.gitea/workflows/ci.yml
T
DerGrumpf f41ef34361
CI / check (push) Failing after 57s
Nonsense on top of Nonsense!
2026-06-22 21:16:47 +02:00

31 lines
978 B
YAML

name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
check:
runs-on: nix
steps:
- name: Checkout
run: git clone https://git.cyperpunk.de/DerGrumpf/cyper-nix.git .
- name: Nix flake check
run: nix flake check --no-build
- name: Format check
run: nix fmt -- --check .
- name: Build NixOS configs (dry-run)
run: |
nix build .#nixosConfigurations.cyper-desktop.config.system.build.toplevel --dry-run
nix build .#nixosConfigurations.cyper-controller.config.system.build.toplevel --dry-run
nix build .#nixosConfigurations.cyper-proxy.config.system.build.toplevel --dry-run
nix build .#nixosConfigurations.cyper-node-1.config.system.build.toplevel --dry-run
nix build .#nixosConfigurations.cyper-node-2.config.system.build.toplevel --dry-run
- name: Eval darwin config (Linux-safe)
run: nix eval .#darwinConfigurations.cyper-mac.system