Skip to content

Commit

Permalink
chore: CI: split gpu tree building test runs (#1594)
Browse files Browse the repository at this point in the history
Split the tree building CI runs into the ones from `filecoin-proofs`
+ `storage-proofs-update` and the rest for the ignored tests. This
should get the total runtime of those tests down to about 30mins.
  • Loading branch information
vmx authored May 3, 2022
1 parent 07696ba commit 2011262
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
ulimit -n 20000
ulimit -u 20000
ulimit -n 20000
cargo test --all --verbose --release << parameters.cargo-args >> -- --nocapture << parameters.test-args >>
cargo test --verbose --release << parameters.cargo-args >> -- --nocapture << parameters.test-args >>
no_output_timeout: 30m
environment:
FIL_PROOFS_USE_GPU_COLUMN_BUILDER: true
Expand Down Expand Up @@ -416,27 +416,45 @@ workflows:

- test_gpu_tree_building:
name: test_gpu_tree_building_opencl (regular)
cargo-args: "--workspace"
requires:
- cargo_fetch
- ensure_groth_parameters_and_keys_linux

- test_gpu_tree_building:
name: test_gpu_tree_building_opencl (ignored)
name: test_gpu_tree_building_opencl (ignored, filecoin-proofs, storage-proofs-update)
cargo-args: "--package filecoin-proofs --package storage-proofs-update"
test-args: "--ignored"
requires:
- cargo_fetch
- ensure_groth_parameters_and_keys_linux

- test_gpu_tree_building:
name: test_gpu_tree_building_opencl (ignored, rest)
cargo-args: "--workspace --exclude filecoin-proofs --exclude storage-proofs-update"
test-args: "--ignored"
requires:
- cargo_fetch
- ensure_groth_parameters_and_keys_linux

- test_gpu_tree_building:
name: test_gpu_tree_building_cuda (regular)
cargo-args: "--features cuda"
cargo-args: "--workspace --features cuda"
requires:
- cargo_fetch
- ensure_groth_parameters_and_keys_linux

- test_gpu_tree_building:
name: test_gpu_tree_building_cuda (ignored, filecoin-proofs, storage-proofs-update)
cargo-args: "--package filecoin-proofs --package storage-proofs-update --features cuda"
test-args: "--ignored"
requires:
- cargo_fetch
- ensure_groth_parameters_and_keys_linux

- test_gpu_tree_building:
name: test_gpu_tree_building_cuda (ignored)
cargo-args: "--features cuda"
name: test_gpu_tree_building_cuda (ignored, rest)
cargo-args: "--workspace --exclude filecoin-proofs --exclude storage-proofs-update --features cuda"
test-args: "--ignored"
requires:
- cargo_fetch
Expand Down

0 comments on commit 2011262

Please sign in to comment.