@@ -55,34 +55,38 @@ jobs:
55
55
# - name: Run cargo fmt
56
56
# run: cargo fmt --all -- --check
57
57
58
- # test_release:
59
- # runs-on: ubuntu-latest
60
- # name: Test in release mode
61
- # strategy:
62
- # matrix:
63
- # cargo-args: ['', '--features fixed-rows-to-discard']
64
- # env:
65
- # # Run all tests with multicore-SDR enabled.
66
- # FIL_PROOFS_USE_MULTICORE_SDR: true
67
- # steps:
68
- # - uses: actions/checkout@v4
69
- # - name: Install required packages
70
- # run: sudo apt install --no-install-recommends --yes libhwloc-dev ocl-icd-opencl-dev
71
- #
72
- # - name: Download the proof params
73
- # uses: ./.github/actions/proof-params-download
74
- # with:
75
- # github-token: ${{ secrets.GITHUB_TOKEN }}
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
- # # Some `storage-proofs-update` tests need to run sequentially due to
84
- # # their high memory usage.
85
- # cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
58
+ test_release :
59
+ runs-on : ubuntu-latest
60
+ name : Test in release mode
61
+ strategy :
62
+ matrix :
63
+ cargo-args : ['', '--features fixed-rows-to-discard']
64
+ env :
65
+ # Run all tests with multicore-SDR enabled.
66
+ FIL_PROOFS_USE_MULTICORE_SDR : true
67
+ steps :
68
+ - uses : actions/checkout@v4
69
+ - name : Install required packages
70
+ run : sudo apt install --no-install-recommends --yes libhwloc-dev ocl-icd-opencl-dev
71
+
72
+ - name : Download the proof params
73
+ uses : ./.github/actions/proof-params-download
74
+ with :
75
+ github-token : ${{ secrets.GITHUB_TOKEN }}
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 }}
86
90
87
91
# test_ignored_release:
88
92
# runs-on: ubuntu-latest
@@ -127,24 +131,24 @@ jobs:
127
131
# - name: Test ignored in release profile
128
132
# run: cargo build --workspace --features cuda,opencl
129
133
130
- multicore_sdr :
131
- runs-on : ubuntu-latest
132
- name : Run specific multicore SDR tests
133
- env :
134
- RUST_TEST_THREADS : 1
135
- steps :
136
- - uses : actions/checkout@v4
137
- - name : Install required packages
138
- run : sudo apt install --no-install-recommends --yes libhwloc-dev ocl-icd-opencl-dev
139
-
140
- # - name: Setup tmate session
141
- # uses: mxschmitt/action-tmate@v3
142
- # with:
143
- # limit-access-to-actor: true
144
-
145
- - name : Without multicore SDR
146
- run : cargo test -p storage-proofs-porep --features isolated-testing --release --lib stacked::vanilla::cores -- --skip stacked::vanilla::cores::tests::test_checkout_cores
147
- - name : With multicore SDR
148
- run : cargo test -p storage-proofs-porep --features isolated-testing --release --lib stacked::vanilla::cores -- --skip stacked::vanilla::cores::tests::test_checkout_cores
149
- env :
150
- FIL_PROOFS_USE_MULTICORE_SDR : true
134
+ # multicore_sdr:
135
+ # runs-on: ubuntu-latest
136
+ # name: Run specific multicore SDR tests
137
+ # env:
138
+ # RUST_TEST_THREADS: 1
139
+ # steps:
140
+ # - uses: actions/checkout@v4
141
+ # - name: Install required packages
142
+ # run: sudo apt install --no-install-recommends --yes libhwloc-dev ocl-icd-opencl-dev
143
+ #
144
+ # #- name: Setup tmate session
145
+ # # uses: mxschmitt/action-tmate@v3
146
+ # # with:
147
+ # # limit-access-to-actor: true
148
+ #
149
+ # - name: Without multicore SDR
150
+ # run: cargo test -p storage-proofs-porep --features isolated-testing --release --lib stacked::vanilla::cores -- --skip stacked::vanilla::cores::tests::test_checkout_cores
151
+ # - name: With multicore SDR
152
+ # run: cargo test -p storage-proofs-porep --features isolated-testing --release --lib stacked::vanilla::cores -- --skip stacked::vanilla::cores::tests::test_checkout_cores
153
+ # env:
154
+ # FIL_PROOFS_USE_MULTICORE_SDR: true
0 commit comments