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.
26 lines
609 B
YAML
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
|