File tree 2 files changed +41
-2
lines changed
2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 49
49
with :
50
50
install_url : https://releases.nixos.org/nix/nix-2.20.4/install
51
51
52
- - name : Build for x86_64 -apple-darwin
52
+ - name : Build for aarch64 -apple-darwin
53
53
run : nix build .#holochain_aarch64-apple
54
54
55
+ build-holochain-legacy-apple :
56
+ runs-on : macos-13
57
+ steps :
58
+ - uses : actions/checkout@v4
59
+
60
+ - name : Install nix
61
+ uses : cachix/install-nix-action@v26
62
+ with :
63
+ install_url : https://releases.nixos.org/nix/nix-2.20.4/install
64
+
65
+ - name : Build for x86_64-apple-darwin
66
+ run : nix build .#holochain_x86_64-apple
67
+
55
68
build-lair-keystore :
56
69
runs-on : ubuntu-latest
57
70
steps :
@@ -88,9 +101,22 @@ jobs:
88
101
with :
89
102
install_url : https://releases.nixos.org/nix/nix-2.20.4/install
90
103
91
- - name : Build for x86_64 -apple-darwin
104
+ - name : Build for aarch64 -apple-darwin
92
105
run : nix build .#lair_keystore_aarch64-apple
93
106
107
+ build-lair-keystore-legacy-apple :
108
+ runs-on : macos-13
109
+ steps :
110
+ - uses : actions/checkout@v4
111
+
112
+ - name : Install nix
113
+ uses : cachix/install-nix-action@v26
114
+ with :
115
+ install_url : https://releases.nixos.org/nix/nix-2.20.4/install
116
+
117
+ - name : Build for x86_64-apple-darwin
118
+ run : nix build .#lair_keystore_x86_64-apple
119
+
94
120
bundle-x86-64-linux :
95
121
runs-on : ubuntu-latest
96
122
steps :
Original file line number Diff line number Diff line change 73
73
crossSystem = "aarch64-darwin" ;
74
74
rustTargetTriple = "aarch64-apple-darwin" ;
75
75
} ;
76
+ } else if localSystem == "x86_64-darwin" then {
77
+ "${ package } _x86_64-apple" = import ./modules/holochain-cross.nix {
78
+ inherit localSystem inputs crate package ;
79
+ crossSystem = "x86_64-darwin" ;
80
+ rustTargetTriple = "x86_64-apple-darwin" ;
81
+ } ;
76
82
} else { } ) ;
77
83
78
84
defineLairKeystorePackages = { } : {
97
103
crossSystem = "aarch64-darwin" ;
98
104
rustTargetTriple = "aarch64-apple-darwin" ;
99
105
} ;
106
+
107
+ } else if localSystem == "x86_64-darwin" then {
108
+ lair_keystore_x86_64-apple = import ./modules/lair-keystore-cross.nix {
109
+ inherit localSystem inputs ;
110
+ crossSystem = "x86_64-darwin" ;
111
+ rustTargetTriple = "x86_64-apple-darwin" ;
112
+ } ;
100
113
} else { } ) ;
101
114
102
115
extractHolochainBin = bin : pkgs . stdenv . mkDerivation {
You can’t perform that action at this time.
0 commit comments