Skip to content

Commit

Permalink
Merge pull request #5 from purcell/purcell-patch-1
Browse files Browse the repository at this point in the history
Show how to limit the systems for which matrix entries are generated
  • Loading branch information
adisbladis authored Aug 29, 2023
2 parents bfeb681 + 12e22d4 commit 32c29fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,14 @@ $ nix run github:nix-community/nix-github-actions
};
}
```

#### When your Flake supports systems that GitHub Actions does not

If your Flake contains checks for platforms unsupported by Actions, e.g. `aarch64-darwin`,
you can restrict the systems for which the matrix will be generated:

``` nix
githubActions = nix-github-actions.lib.mkGithubMatrix {
checks = nixpkgs.lib.getAttrs [ "x86_64-linux" "x86_64-darwin" ] self.checks;
};
```

0 comments on commit 32c29fd

Please sign in to comment.