@@ -16,6 +16,15 @@ executors:
16
16
environment :
17
17
GRADLE_OPTS : -Xmx2048m -Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=2
18
18
HOMEBREW_NO_AUTO_UPDATE : true
19
+ besu_executor_med_linux_arm64 : # 2cpu, 8G ram
20
+ machine :
21
+ image : ubuntu-2004:current
22
+ resource_class : arm.medium
23
+ working_directory : ~/project
24
+ environment :
25
+ architecture : " arm64"
26
+ GRADLE_OPTS : -Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=2
27
+
19
28
# besu_executor_med_windows: # 2cpu, 4G ram
20
29
# machine:
21
30
# image: "windows-server-2019-vs2019:stable"
@@ -78,36 +87,75 @@ jobs:
78
87
- persist_to_workspace :
79
88
root : .
80
89
paths :
81
- - altbn128/build/lib/*.so*
82
- - bls12-381/build/lib/*.so*
83
- - secp256k1/build/lib/*.so*
84
- - ipa-multipoint/build/lib/*.so
85
- - secp256r1/besu-native-ec/release/*.so
90
+ - altbn128/build/linux-gnu-x86_64/ lib/*.so*
91
+ - bls12-381/build/linux-gnu-x86_64/ lib/*.so*
92
+ - secp256k1/build/linux-gnu-x86_64/ lib/*.so*
93
+ - ipa-multipoint/build/linux-gnu-x86_64/ lib/*.so
94
+ - secp256r1/besu-native-ec/release/linux-gnu-x86_64/ *.so
86
95
- store_artifacts :
87
96
name : Linux altbn128 native build artifacts
88
- path : altbn128/build/lib
97
+ path : altbn128/build/linux-gnu-x86_64/ lib
89
98
destination : altbn128_linux_x86_64_native_artifacts
90
99
when : always
91
100
- store_artifacts :
92
101
name : Linux bls12-381 native build artifacts
93
- path : bls12-381/build/lib
102
+ path : bls12-381/build/linux-gnu-x86_64/ lib
94
103
destination : bls12_381_linux_x86_64_native_artifacts
95
104
when : always
96
105
- store_artifacts :
97
106
name : Linux secp256k1 native build artifacts
98
- path : secp256k1/build/lib
107
+ path : secp256k1/build/linux-gnu-x86_64/ lib
99
108
destination : secp256k1_linux_x86_64_native_artifacts
100
109
when : always
101
110
- store_artifacts :
102
111
name : Linux secp256r1 native build artifacts
103
- path : secp256r1/besu-native-ec/release
112
+ path : secp256r1/besu-native-ec/release/linux-gnu-x86_64
104
113
destination : secp256r1_linux_x86_64_native_artifacts
105
114
when : always
106
115
- store_artifacts :
107
116
name : Linux ipa-multipoint native build artifacts
108
- path : ipa-multipoint/build/lib
117
+ path : ipa-multipoint/build/linux-gnu-x86_64/ lib
109
118
destination : ipa_multipoint_linux_x86_64_native_artifacts
110
119
when : always
120
+
121
+ native-build-linux-aarch64 :
122
+ executor : besu_executor_med_linux_arm64
123
+ environment :
124
+ SKIP_GRADLE : true
125
+ steps :
126
+ - checkout_code
127
+ - prepare_linux
128
+ - run :
129
+ name : build
130
+ command : |
131
+ ./build.sh
132
+ - persist_to_workspace :
133
+ root : .
134
+ paths :
135
+ - altbn128/build/linux-gnu-aarch64/lib/*.so*
136
+ - secp256k1/build/linux-gnu-aarch64/lib/*.so*
137
+ - ipa-multipoint/build/linux-gnu-aarch64/lib/*.so
138
+ - secp256r1/besu-native-ec/release/linux-gnu-aarch64/*.so
139
+ - store_artifacts :
140
+ name : Linux altbn128 native build artifacts
141
+ path : altbn128/build/linux-gnu-aarch64/lib
142
+ destination : altbn128_linux_aarch64_native_artifacts
143
+ when : always
144
+ - store_artifacts :
145
+ name : Linux secp256k1 native build artifacts
146
+ path : secp256k1/build/linux-gnu-aarch64/lib
147
+ destination : secp256k1_linux_aarch64_native_artifacts
148
+ when : always
149
+ - store_artifacts :
150
+ name : Linux secp256r1 native build artifacts
151
+ path : secp256r1/besu-native-ec/release/linux-gnu-aarch64
152
+ destination : secp256r1_linux_aarch64_native_artifacts
153
+ when : always
154
+ - store_artifacts :
155
+ name : Linux ipa-multipoint native build artifacts
156
+ path : ipa-multipoint/build/linux-gnu-aarch64/lib
157
+ destination : ipa_multipoint_linux_aarch64_native_artifacts
158
+ when : always
111
159
native-build-macos :
112
160
executor : besu_executor_med_macos
113
161
environment :
@@ -122,34 +170,34 @@ jobs:
122
170
- persist_to_workspace :
123
171
root : .
124
172
paths :
125
- - altbn128/build/lib/*.*dylib*
126
- - bls12-381/build/lib/*.*dylib*
127
- - secp256k1/build/lib/*.*dylib*
128
- - ipa-multipoint/build/lib/*.dylib
129
- - secp256r1/besu-native-ec/release/*.dylib
173
+ - altbn128/build/darwin/ lib/*.*dylib*
174
+ - bls12-381/build/darwin/ lib/*.*dylib*
175
+ - secp256k1/build/darwin/ lib/*.*dylib*
176
+ - ipa-multipoint/build/darwin/ lib/*.dylib
177
+ - secp256r1/besu-native-ec/release/darwin/ *.dylib
130
178
- store_artifacts :
131
179
name : macOS altbn128 native build artifacts
132
- path : altbn128/build/lib
180
+ path : altbn128/build/darwin/ lib
133
181
destination : altbn128_macOS_native_artifacts
134
182
when : always
135
183
- store_artifacts :
136
184
name : macOS bls12-381 native build artifacts
137
- path : bls12-381/build/lib
185
+ path : bls12-381/build/darwin/ lib
138
186
destination : bls12_381_macOS_native_artifacts
139
187
when : always
140
188
- store_artifacts :
141
189
name : macOS secp256k1 native build artifacts
142
- path : secp256k1/build/lib
190
+ path : secp256k1/build/darwin/ lib
143
191
destination : secp256k1_macOS_native_artifacts
144
192
when : always
145
193
- store_artifacts :
146
194
name : macOS secp256r1 native build artifacts
147
- path : secp256r1/besu-native-ec/release
195
+ path : secp256r1/besu-native-ec/release/darwin
148
196
destination : secp256r1_macOS_native_artifacts
149
197
when : always
150
198
- store_artifacts :
151
199
name : macOS ipa-multipoint native build artifacts
152
- path : ipa-multipoint/build/lib
200
+ path : ipa-multipoint/build/darwin/ lib
153
201
destination : ipa_multipoint_macOS_native_artifacts
154
202
when : always
155
203
final-assembly :
@@ -210,10 +258,12 @@ workflows:
210
258
default :
211
259
jobs :
212
260
- native-build-linux-x86-64
261
+ - native-build-linux-aarch64
213
262
- native-build-macos
214
263
- final-assembly :
215
264
requires :
216
265
- native-build-linux-x86-64
266
+ - native-build-linux-aarch64
217
267
- native-build-macos
218
268
- publish :
219
269
filters :
0 commit comments