Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
27
flake/den/templates/examples/modules/_example/ci/builds.nix
Normal file
27
flake/den/templates/examples/modules/_example/ci/builds.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Adds some checks for CI
|
||||
{
|
||||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
checkFile,
|
||||
rockhopper,
|
||||
honeycrisp,
|
||||
cam,
|
||||
bob,
|
||||
...
|
||||
}:
|
||||
let
|
||||
checks.x86_64-linux = {
|
||||
vm = checkFile "vm-builds" "${rockhopper.config.system.build.vm}/bin/run-rockhopper-vm";
|
||||
hosts-rockhopper = checkFile "nixos-builds" rockhopper.config.system.build.toplevel;
|
||||
homes-cam = checkFile "home-builds" cam.activation-script;
|
||||
};
|
||||
checks.aarch64-darwin = {
|
||||
hosts-honeycrisp = checkFile "darwin-builds" honeycrisp.config.system.build.toplevel;
|
||||
homes-bob = checkFile "darwin-home-builds" bob.activation-script;
|
||||
};
|
||||
in
|
||||
{
|
||||
checks = checks.${pkgs.system} or { };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue