Skip to content

Commit 03f73ba

Browse files
committed
chore: try test_release with multicore-sdr again
1 parent d388a69 commit 03f73ba

File tree

1 file changed

+33
-23
lines changed

1 file changed

+33
-23
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,20 @@ jobs:
7474
with:
7575
github-token: ${{ secrets.GITHUB_TOKEN }}
7676

77-
- name: Test in release profile
78-
run: |
79-
#cargo test --verbose --release --workspace --all-targets ${{ matrix.cargo-args }}
80-
# Run sequentially due to core assignment tests that otherwise might
81-
# interfere with each other
82-
#cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
83-
# Getting the cores does not work on GitHub Actions, hence skip that
84-
# specific test.
85-
cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --skip stacked::vanilla::cores::tests::test_checkout_cores
86-
# Some `storage-proofs-update` tests need to run sequentially due to
87-
# their high memory usage.
88-
#cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
89-
cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }}
77+
- name: Run usual tests in release profile
78+
run: cargo test --verbose --release --workspace --all-targets ${{ matrix.cargo-args }} -- --nocapture
79+
- name: Run isolated PoRep tests in release profile
80+
# Run sequentially due to core assignment tests that otherwise might
81+
# interfere with each other
82+
#cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
83+
# Getting the cores does not work on GitHub Actions, hence skip that
84+
# specific test.
85+
run: cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --nocapture --skip stacked::vanilla::cores::tests::test_checkout_cores
86+
- name: Run isolated update tests in release profile
87+
# Some `storage-proofs-update` tests need to run sequentially due to
88+
# their high memory usage.
89+
#cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
90+
run: cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --nocapture
9091

9192
#test_ignored_release:
9293
# runs-on: ubuntu-latest
@@ -120,16 +121,25 @@ jobs:
120121
# - name: Test ignored in release profile
121122
# run: cargo test --release --workspace --no-default-features
122123
#
123-
#build_gpu:
124-
# runs-on: ubuntu-latest
125-
# name: Build with CUDA and OpenCL support enabled
126-
# steps:
127-
# - uses: actions/checkout@v4
128-
# - name: Install required packages
129-
# run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
130-
#
131-
# - name: Test ignored in release profile
132-
# run: cargo build --workspace --features cuda,opencl
124+
125+
# TODO test GPU target
126+
#- name: SupraSeal filecoin-proofs tests in release profile
127+
# run: |
128+
# cargo test -p filecoin-proofs --release --no-default-features --features cuda-supraseal -- --nocapture --test-threads=1
129+
# cargo test -p filecoin-proofs --release --no-default-features --features cuda-supraseal -- --nocapture --test-threads=1 --ignored
130+
131+
build_gpu:
132+
runs-on: ubuntu-latest
133+
name: Build with various GPU support enabled
134+
steps:
135+
- uses: actions/checkout@v4
136+
- name: Install required packages
137+
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
138+
139+
- name: Build with `cuda` and `opencl` features enabled
140+
run: cargo build --workspace --features cuda,opencl
141+
- name: Build with `cuda-supraseal` feature enabled
142+
run: cargo build --workspace --no-default-features --features cuda-supraseal
133143

134144
#multicore_sdr:
135145
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)