29
29
- cargo-v28-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
30
30
- run : rustup install $(cat rust-toolchain)
31
31
- run : rustup default $(cat rust-toolchain)
32
+ - run : rustup install nightly
32
33
- run : rustup component add rustfmt-preview
33
34
- run : rustup component add clippy
34
35
- run : cargo update
@@ -127,9 +128,10 @@ jobs:
127
128
RUST_TEST_THREADS : 1
128
129
no_output_timeout : 30m
129
130
130
- # Running with `use_fil_blst=true` should be integrated directly into the test code. For now we
131
- # just re-run the tests that exercise the fil-blst code path with that setting set.
132
- test_fil_blst :
131
+
132
+ # Running with `use_multicore_sdr=true` should be integrated directly into the test code. For now we
133
+ # just re-run the lifecycle tests to exercise the use_multicore_sdr code path with that setting set.
134
+ test_multicore_sdr :
133
135
docker :
134
136
- image : filecoin/rust:latest
135
137
working_directory : /mnt/crate
@@ -144,19 +146,28 @@ jobs:
144
146
- cargo-v28-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
145
147
- restore_parameter_cache
146
148
- run :
147
- name : Test with fil-blst enabled
149
+ name : Test with use_multicore_sdr pairing enabled
148
150
command : |
149
151
ulimit -n 20000
150
152
ulimit -u 20000
151
153
ulimit -n 20000
152
- cargo +$(cat rust-toolchain) test --verbose --release --test api -- --ignored
154
+ cargo +nightly -Zpackage-features test --all -- verbose --release --test api -- --ignored lifecycle
153
155
environment :
154
156
RUST_TEST_THREADS : 1
155
- FIL_PROOFS_USE_FIL_BLST : true
157
+ FIL_PROOFS_USE_MULTICORE_SDR : true
156
158
157
- # Running with `use_multicore_sdr=true` should be integrated directly into the test code. For now we
158
- # just re-run the lifecycle tests to exercise the use_multicore_sdr code path with that setting set.
159
- test_multicore_sdr :
159
+ - run :
160
+ name : Test with use_multicore_sdr and blst enabled
161
+ command : |
162
+ ulimit -n 20000
163
+ ulimit -u 20000
164
+ ulimit -n 20000
165
+ cargo +nightly -Zpackage-features test --all --no-default-features --features gpu,blst --verbose --release --test api -- --ignored lifecycle
166
+ environment :
167
+ RUST_TEST_THREADS : 1
168
+ FIL_PROOFS_USE_MULTICORE_SDR : true
169
+
170
+ test_blst :
160
171
docker :
161
172
- image : filecoin/rust:latest
162
173
working_directory : /mnt/crate
@@ -171,15 +182,23 @@ jobs:
171
182
- cargo-v28-{{ checksum "rust-toolchain" }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}-{{ arch }}
172
183
- restore_parameter_cache
173
184
- run :
174
- name : Test with use_multicore_sdr enabled
185
+ name : Test ignored with blst enabled
175
186
command : |
176
187
ulimit -n 20000
177
188
ulimit -u 20000
178
189
ulimit -n 20000
179
- cargo +$(cat rust-toolchain) test --verbose --release -- --ignored lifecycle
190
+ cargo +nightly -Zpackage-features test --all --no-default-features --features gpu,blst -- verbose --release --test api -- --ignored
180
191
environment :
181
192
RUST_TEST_THREADS : 1
182
- FIL_PROOFS_USE_MULTICORE_SDR : true
193
+
194
+ - run :
195
+ name : Test with blst enabled
196
+ command : |
197
+ ulimit -n 20000
198
+ ulimit -u 20000
199
+ ulimit -n 20000
200
+ cargo +nightly -Zpackage-features test --all --no-default-features --features gpu,blst --verbose
201
+
183
202
184
203
bench :
185
204
docker :
@@ -415,11 +434,12 @@ workflows:
415
434
requires :
416
435
- cargo_fetch
417
436
- ensure_groth_parameters_and_keys_linux
418
- - test_fil_blst :
437
+
438
+ - test_multicore_sdr :
419
439
requires :
420
440
- cargo_fetch
421
441
- ensure_groth_parameters_and_keys_linux
422
- - test_multicore_sdr :
442
+ - test_blst :
423
443
requires :
424
444
- cargo_fetch
425
445
- ensure_groth_parameters_and_keys_linux
0 commit comments