cryodev/.forgejo/workflows/ci.yml
steffen 14d02a0c57
Some checks failed
Deploy / flake-check (push) Successful in 45s
Deploy / deploy-cryodev-main (push) Failing after 1s
Deploy / build-pi-images (cryodev-pi) (push) Failing after 57s
Deploy / create-release (push) Has been skipped
fix CI: use runs-on host, remove install-nix-action
Runner has label 'host' not 'docker'. Jobs were stuck in 'waiting to
run' because no runner matched the docker label. Also removed the
cachix/install-nix-action steps since Nix is already available on the
host runner.
2026-03-14 13:56:31 +01:00

26 lines
609 B
YAML

name: CI
on: [pull_request]
jobs:
flake-check:
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run flake check
run: nix flake check --impure
build-hosts:
needs: flake-check
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build cryodev-main
run: nix build .#nixosConfigurations.cryodev-main.config.system.build.toplevel --impure
- name: Build cryodev-pi
run: nix build .#nixosConfigurations.cryodev-pi.config.system.build.toplevel --impure