Skip to content

Commit

Permalink
ci(gh-actions): Enable FlyCI GH runners for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarKirov committed Jan 30, 2024
1 parent 34dde89 commit 2a18cd6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/mk-gh-actions-matrix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
flake = {
lib = rec {
nixSystemToGHPlatform = {
"ubuntu-latest" = "x86_64-linux";
"macos-latest" = "x86_64-darwin";
# not supported:
# "macos-latest-xlarge" = "aarch64-darwin";
"x86_64-linux" = "ubuntu-latest";
"x86_64-darwin" = "flyci-macos-large-latest-m1";
"aarch64-darwin" = "flyci-macos-large-latest-m1";
};

inherit (import ./build-status.nix {inherit lib;}) getBuildStatus;
Expand All @@ -18,8 +17,8 @@
include = lib.pipe (builtins.attrNames nixSystemToGHPlatform) [
(builtins.concatMap
(
platform: let
system = nixSystemToGHPlatform.${platform};
system: let
platform = nixSystemToGHPlatform.${system};
in
map (package: let
p = self.packages.${system}.${package};
Expand Down

0 comments on commit 2a18cd6

Please sign in to comment.