mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 04:14:28 +02:00
Adds a "check" CI workflow to replace buildbot. Uses nix-community/nix-github-actions to generate a job matrix as a `githubActions.matrix` flake output. This allows more customisation than simply building _all_ `checks`.
20 lines
313 B
Nix
20 lines
313 B
Nix
{
|
|
self,
|
|
inputs,
|
|
helpers,
|
|
...
|
|
}:
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
checks = pkgs.callPackages ../../tests {
|
|
inherit helpers self;
|
|
};
|
|
};
|
|
|
|
# Output a build matrix for CI
|
|
flake.githubActions = inputs.nix-github-actions.lib.mkGithubMatrix {
|
|
inherit (self) checks;
|
|
};
|
|
}
|