@@ -74,19 +74,20 @@ jobs:
74
74
with :
75
75
github-token : ${{ secrets.GITHUB_TOKEN }}
76
76
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
90
91
91
92
# test_ignored_release:
92
93
# runs-on: ubuntu-latest
@@ -120,16 +121,25 @@ jobs:
120
121
# - name: Test ignored in release profile
121
122
# run: cargo test --release --workspace --no-default-features
122
123
#
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
133
143
134
144
# multicore_sdr:
135
145
# runs-on: ubuntu-latest
0 commit comments