Skip to content

Commit

Permalink
ci: Remove jobs for unversioned attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Nov 4, 2024
1 parent f210d20 commit b7a99a7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,19 @@
checks = self.packages;

githubActions = nix-github-actions.lib.mkGithubMatrix {
checks = nixpkgs.lib.getAttrs [ "x86_64-linux" ] self.checks;
# Filter out unversioned (latest SDK) attributes for less CI jobs.
# These are also tested as explicitly versioned attributes.
checks = lib.mapAttrs (
_:
lib.filterAttrs (
attr: _:
!lib.elem attr [
"hosttools"
"sdk"
"sdkFull"
]
)
) (nixpkgs.lib.getAttrs [ "x86_64-linux" ] self.checks);
};

packages = forAllSystems (
Expand Down

0 comments on commit b7a99a7

Please sign in to comment.