liminix/ci.nix
2023-02-05 22:38:21 +00:00

27 lines
713 B
Nix

{
nixpkgs
, unstable
, liminix
, ... }:
let
inherit (builtins) map;
pkgs = (import nixpkgs {});
inherit (pkgs.lib.attrsets) genAttrs;
devices = [ "qemu" "gl-ar750" ];
vanilla = ./vanilla-configuration.nix;
for-device = name:
(import liminix {
inherit nixpkgs;
device = import (liminix + "/devices/${name}");
liminix-config = vanilla;
}).outputs.default;
tests = import ./tests/ci.nix;
jobs =
(genAttrs devices (name: for-device name)) // tests // {
with-unstable = (import liminix {
nixpkgs = unstable;
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).outputs.default;
};
in builtins.trace jobs jobs