Skip to content

Commit

Permalink
chore: CI: split gpu tree building test runs
Browse files Browse the repository at this point in the history
Split the tree building CI runs into the ones from `filecoin-proofs` and
the rest for the ignored tests. This should get the total runtime of
those tests down to about 30mins.
  • Loading branch information
vmx committed Apr 26, 2022
1 parent 6044773 commit 2ba99f2
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 @@ -199,7 +199,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 @@ -436,27 +436,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 fileoin-proofs --exclude storage-proofs-update --features cuda"
test-args: "--ignored"
requires:
- cargo_fetch
Expand Down

0 comments on commit 2ba99f2

Please sign in to comment.